Method: RubyApp::Elements::Mobile::Button#initialize
- Defined in:
- lib/ruby_app/elements/mobile/button.rb
#initialize ⇒ Button
Returns a new instance of Button.
12 13 14 15 |
# File 'lib/ruby_app/elements/mobile/button.rb', line 12 def initialize super self.attributes.merge!('data-role' => 'button') end |