Module: ActionView::Helpers::FormOptionsHelper
- Defined in:
- lib/enumerated_attribute/rails_helpers.rb
Overview
form_options_helper.rb
Instance Method Summary collapse
Instance Method Details
#enum_select(object, method, options = {}, html_options = {}) ⇒ Object
def select
53 54 55 |
# File 'lib/enumerated_attribute/rails_helpers.rb', line 53 def enum_select(object, method, ={}, ={}) InstanceTag.new(object, method, self, .delete(:object)).to_enum_select_tag(, ) end |