Method: Shoes::DSL::Element#button
- Defined in:
- shoes-core/lib/shoes/dsl/element.rb
#button(text = nil, opts = {}, &blk) ⇒ Shoes::Button
Creates a clickable button.
125 126 127 |
# File 'shoes-core/lib/shoes/dsl/element.rb', line 125 def (text = nil, opts = {}, &blk) create Shoes::Button, text, opts, blk end |