Class: Id::FormBuilder
- Inherits:
-
ActionView::Helpers::FormBuilder
- Object
- ActionView::Helpers::FormBuilder
- Id::FormBuilder
- Defined in:
- lib/id/form.rb
Instance Method Summary collapse
-
#initialize(object_name, object, template, options) ⇒ FormBuilder
constructor
A new instance of FormBuilder.
Constructor Details
#initialize(object_name, object, template, options) ⇒ FormBuilder
Returns a new instance of FormBuilder.
44 45 46 47 |
# File 'lib/id/form.rb', line 44 def initialize(object_name, object, template, ) object = object.is_a?(Id::Model) ? object.to_model : object super object_name, object, template, end |