Class: HstoreRadioButtons::ButtonOptions
- Inherits:
-
Object
- Object
- HstoreRadioButtons::ButtonOptions
- Defined in:
- lib/hstore_radio_buttons/button_options.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name, options) ⇒ ButtonOptions
constructor
A new instance of ButtonOptions.
Constructor Details
#initialize(name, options) ⇒ ButtonOptions
Returns a new instance of ButtonOptions.
4 5 6 7 |
# File 'lib/hstore_radio_buttons/button_options.rb', line 4 def initialize(name, ) self.name = name self. = * end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/hstore_radio_buttons/button_options.rb', line 3 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/hstore_radio_buttons/button_options.rb', line 3 def @options end |