Class: HstoreRadioButtons::ButtonSet
- Inherits:
-
Object
- Object
- HstoreRadioButtons::ButtonSet
- Defined in:
- lib/hstore_radio_buttons/button_set.rb
Instance Method Summary collapse
-
#initialize(button_definition, model) ⇒ ButtonSet
constructor
A new instance of ButtonSet.
Constructor Details
#initialize(button_definition, model) ⇒ ButtonSet
Returns a new instance of ButtonSet.
3 4 5 6 7 8 |
# File 'lib/hstore_radio_buttons/button_set.rb', line 3 def initialize(, model) namer = HstoreRadioButtons::MethodNamer.new(.name) create_instance_methods(, model, namer) create_getters_on_class(model, namer) end |