Class: Copland::ConfigurationPoint::MapConfigurationPoint
- Inherits:
-
Hash
- Object
- Hash
- Copland::ConfigurationPoint::MapConfigurationPoint
- Includes:
- ConfigurationPointFunctionality
- Defined in:
- lib/copland/configuration-point/map.rb
Overview
This is the implementation of a configuration point of type “map”. It is simply an enhanced hash.
Instance Attribute Summary
Attributes included from ConfigurationPointFunctionality
#description, #name, #owner, #schema
Instance Method Summary collapse
-
#assimilate_values(values) ⇒ Object
Contribute values directly the map.
Methods included from ConfigurationPointFunctionality
#assert_correct_type, #contribute, #contributor_of, #fixate!, #fixated?, #full_name, #initialize, #process_values, #substitute_symbols!, #validate_values
Instance Method Details
#assimilate_values(values) ⇒ Object
Contribute values directly the map. The values
parameter is assumed to be an Hash, and should have been validated previously against the configuration point’s schema. Also, the values should have been previously preprocessed. In practice, this method should never be invoked directly–instead, use the #contribute method instead.
51 52 53 |
# File 'lib/copland/configuration-point/map.rb', line 51 def assimilate_values( values ) merge! values end |