Class: ActionView::Helpers::FormBuilder
- Inherits:
-
Object
- Object
- ActionView::Helpers::FormBuilder
- Defined in:
- lib/has_enum/helpers.rb
Instance Method Summary collapse
Instance Method Details
#radio_button_enum(method, options = {}) ⇒ Object
34 35 36 |
# File 'lib/has_enum/helpers.rb', line 34 def (method, = {}) @template.(@object_name, method, ()) end |
#select_enum(method, options = {}) ⇒ Object
38 39 40 |
# File 'lib/has_enum/helpers.rb', line 38 def select_enum(method, = {}) @template.select_enum(@object_name, method, (.merge(:include_blank => true))) end |