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



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

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