Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/enum/active_record_helper.rb

Instance Method Summary collapse

Instance Method Details

#enum_select(method, options = {}, html_options = {}) ⇒ Object



56
57
58
# File 'lib/enum/active_record_helper.rb', line 56

def enum_select(method, options={}, html_options={})
	@template.enum_select(@object_name, method, objectify_options(options), @default_options.merge(html_options))
end