Method: Xcode::Configuration::SpaceDelimitedString#append
- Defined in:
- lib/xcode/configurations/space_delimited_string_property.rb
#append(original, value) ⇒ Object
Space Delimited Strings are not unlike arrays and those we assume that the inputs are going to be two arrays that will be joined and then ensured that only the unique values are saved.
58 59 60 |
# File 'lib/xcode/configurations/space_delimited_string_property.rb', line 58 def append(original,value) save( ( open(original) + Array(value)).uniq ) end |