method
new
v2.1.0 -
Show latest stable
- Class:
ActionView::Helpers::FormBuilder
new(object_name, object, template, options, proc)public
No documentation available.
# File actionpack/lib/action_view/helpers/form_helper.rb, line 697
def initialize(object_name, object, template, options, proc)
@object_name, @object, @template, @options, @proc = object_name, object, template, options, proc
@default_options = @options ? @options.slice(:index) : {}
end