Module: ParamsReady::Parameter::ValueParameterDefinition::ValueLike

Included in:
PolymorphParameterDefinition, ParamsReady::Parameter::ValueParameterDefinition
Defined in:
lib/params_ready/parameter/value_parameter.rb

Instance Method Summary collapse

Instance Method Details

#duplicate_value(value) ⇒ Object



129
130
131
# File 'lib/params_ready/parameter/value_parameter.rb', line 129

def duplicate_value(value)
  value.dup
end

#freeze_value(value) ⇒ Object



133
134
135
# File 'lib/params_ready/parameter/value_parameter.rb', line 133

def freeze_value(value)
  value.freeze
end