Class: Copland::ConfigurationPoint::ListConfigurationPoint

Inherits:
Array
  • Object
show all
Includes:
ConfigurationPointFunctionality
Defined in:
lib/copland/configuration-point/list.rb

Overview

This is the implementation of a configuration point of type “list”. It is simply an enhanced array.

Instance Attribute Summary

Attributes included from ConfigurationPointFunctionality

#description, #name, #owner, #schema

Instance Method Summary collapse

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 list. The values parameter is assumed to be an Array, 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/list.rb', line 51

def assimilate_values( values )
  concat values
end