module ActionView::Helpers::FormOptionsHelper

form_options_helper.rb

Public Instance Methods

enum_select(object, method, options={}, html_options={}) click to toggle source

def select

# File lib/enum/active_record_helper.rb, line 22
def enum_select(object, method, options={}, html_options={})
        InstanceTag.new(object, method, self, options.delete(:object)).to_enum_select_tag(options, html_options)
end