Class: ParamsReady::Parameter::StateBuilder
- Inherits:
-
StructParameterBuilder
- Object
- AbstractBuilder
- Builder
- StructParameterBuilder
- ParamsReady::Parameter::StateBuilder
- Defined in:
- lib/params_ready/parameter/state.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from StructParameterBuilder
Methods included from Marshaller::BuilderModule
Methods included from AbstractStructParameterBuilder::StructLike
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 ⇒ Object
106 107 108 109 |
# File 'lib/params_ready/parameter/state.rb', line 106 def self.instance definition = StateDefinition.new(:'', altn: :'') new definition end |
Instance Method Details
#relation(relation) ⇒ Object
102 103 104 |
# File 'lib/params_ready/parameter/state.rb', line 102 def relation(relation) @definition.add_relation relation end |