Class: Wizardly::Wizard::UserDefinedButton
- Defined in:
- lib/wizardly/wizard/button.rb
Instance Attribute Summary
Attributes inherited from Button
Instance Method Summary collapse
-
#initialize(id, name = nil) ⇒ UserDefinedButton
constructor
A new instance of UserDefinedButton.
Methods inherited from Button
Constructor Details
#initialize(id, name = nil) ⇒ UserDefinedButton
Returns a new instance of UserDefinedButton.
29 30 31 32 |
# File 'lib/wizardly/wizard/button.rb', line 29 def initialize(id, name=nil) super @user_defined = true end |