Class: ParamsReady::Parameter::ArrayParameterBuilder
- Inherits:
-
Builder
- Object
- AbstractBuilder
- Builder
- ParamsReady::Parameter::ArrayParameterBuilder
- Includes:
- Marshaller::BuilderModule, ArrayLike
- Defined in:
- lib/params_ready/parameter/array_parameter.rb
Defined Under Namespace
Modules: ArrayLike
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Marshaller::BuilderModule
Methods included from ArrayLike
Methods inherited from Builder
Methods inherited from AbstractBuilder
#build, builder, define_parameter, define_registered_parameter, #fetch, fetch_builder, #include, #initialize, #open?, register, register_deprecated, resolve
Methods included from Extensions::Registry
Constructor Details
This class inherits a constructor from ParamsReady::AbstractBuilder
Class Method Details
.instance(name, altn: nil) ⇒ Object
125 126 127 |
# File 'lib/params_ready/parameter/array_parameter.rb', line 125 def self.instance(name, altn: nil) new ArrayParameterDefinition.new(name, altn: altn) end |
Instance Method Details
#compact ⇒ Object
129 130 131 |
# File 'lib/params_ready/parameter/array_parameter.rb', line 129 def compact @definition.set_compact true end |