Class: GOVUKDesignSystemFormBuilder::Proxy
- Defined in:
- lib/govuk_design_system_formbuilder/proxy.rb
Defined Under Namespace
Classes: NullBuilder
Instance Method Summary collapse
-
#initialize(object, object_name, attribute_name, value: nil) ⇒ Proxy
constructor
A new instance of Proxy.
Methods inherited from Base
Constructor Details
#initialize(object, object_name, attribute_name, value: nil) ⇒ Proxy
Returns a new instance of Proxy.
7 8 9 10 11 |
# File 'lib/govuk_design_system_formbuilder/proxy.rb', line 7 def initialize(object, object_name, attribute_name, value: nil) super(NullBuilder.new(object), object_name, attribute_name) @value = value end |