Sha256: d6eeb97fb89d7f4ab41969295f751dda5037dc8456de5511194143256b89daac
Contents?: true
Size: 402 Bytes
Versions: 15
Compression:
Stored size: 402 Bytes
Contents
class Array # # Arrays in an Xcode project take a particular format. # # @note the last element in the array can have a comma; it is optional. # # @example output format: # # ( # ITEM1, # ITEM2, # ITEM3 # ) # def to_xcplist plist_of_items = map {|item| item.to_xcplist }.join(",\n") %{( #{plist_of_items} )} end end
Version data entries
15 entries across 15 versions & 1 rubygems