Method: Xcode::Configuration::SpaceDelimitedString#open
- Defined in:
- lib/xcode/configurations/space_delimited_string_property.rb
#open(value) ⇒ Array<String>
While the space delimited string can and is often stored in that way, it appears as though Xcode is now possibly storing these values in a format that the parser is returning as an Array. So if the raw value is an array, simply return that raw value instead of attempting to convert it.
37 38 39 |
# File 'lib/xcode/configurations/space_delimited_string_property.rb', line 37 def open(value) value.is_a?(Array) ? value : value.to_s.split(" ") end |