Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/enumerated_attribute/rails_helpers.rb

Instance Method Summary collapse

Instance Method Details

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



91
92
93
# File 'lib/enumerated_attribute/rails_helpers.rb', line 91

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