Method: Reflex::Button#initialize
- Defined in:
- lib/reflex/button.rb
#initialize(*args, &block) ⇒ Button
Returns a new instance of Button.
13 14 15 16 17 |
# File 'lib/reflex/button.rb', line 13 def initialize(*args, &block) self.data = false super self.text = self.name unless self.text end |