Module: Enumerize::Hooks::SimpleFormBuilderExtension
- Defined in:
- lib/enumerize/hooks/simple_form.rb
Instance Method Summary collapse
- #input(attribute_name, options = {}, &block) ⇒ Object
- #input_field(attribute_name, options = {}) ⇒ Object
Instance Method Details
#input(attribute_name, options = {}, &block) ⇒ Object
9 10 11 12 |
# File 'lib/enumerize/hooks/simple_form.rb', line 9 def input(attribute_name, ={}, &block) (attribute_name, ) super(attribute_name, , &block) end |
#input_field(attribute_name, options = {}) ⇒ Object
14 15 16 17 |
# File 'lib/enumerize/hooks/simple_form.rb', line 14 def input_field(attribute_name, ={}) (attribute_name, ) super(attribute_name, ) end |