Module: Xcode::Configuration::ArrayProperty
- Extended by:
- ArrayProperty
- Included in:
- ArrayProperty
- Defined in:
- lib/xcode/configurations/array_property.rb
Overview
Within the a build settings for a configuration there are a number of settings that are stored as Arrays. This helper module is for the most part a pass-through method to provide parity with the other methods.
Instance Method Summary collapse
- #append(original, value) ⇒ Object
-
#open(value) ⇒ Object
As arrays are stored as arrays this is not particularly different.
- #save(value) ⇒ Object
Instance Method Details
#append(original, value) ⇒ Object
30 31 32 |
# File 'lib/xcode/configurations/array_property.rb', line 30 def append(original,value) (open(original) + Array(value)).uniq end |
#open(value) ⇒ Object
As arrays are stored as arrays this is not particularly different.
18 19 20 |
# File 'lib/xcode/configurations/array_property.rb', line 18 def open(value) Array(value) end |
#save(value) ⇒ Object
26 27 28 |
# File 'lib/xcode/configurations/array_property.rb', line 26 def save(value) Array(value) end |