Method: FormProps::Inputs::Base#initialize
- Defined in:
- lib/form_props/inputs/base.rb
#initialize(object_name, method_name, template_object, options = {}) ⇒ Base
Returns a new instance of Base.
16 17 18 19 20 21 22 23 |
# File 'lib/form_props/inputs/base.rb', line 16 def initialize(object_name, method_name, template_object, = {}) = .with_indifferent_access @controlled = .delete(:controlled) @key = .delete(:key) super end |