module Voom::Presenters::DSL::Components::Mixins::Buttons

Public Instance Methods

button(text=nil, **attributes, &block) click to toggle source
# File lib/voom/presenters/dsl/components/mixins/buttons.rb, line 7
def button(text=nil, **attributes, &block)
  self << Components::Button.new(text: text, parent: self, **attributes, &block)
end