Sha256: 27877338fc35a142ec3bd85e0980111fd10e30bc0413f96cb3faf63d139588d4
Contents?: true
Size: 616 Bytes
Versions: 7
Compression:
Stored size: 616 Bytes
Contents
class Hash # # Hashes in an Xcode project take a particular format. # # @note the keys are represeted in this output with quotes; this is actually # optional for certain keys based on their format. This is done to ensure # that all keys that do not conform are ensured proper output. # # @example output format: # # { # "KEY" = "VALUE"; # "KEY" = "VALUE"; # "KEY" = "VALUE"; # } # def to_xcplist plist_of_items = map do |k,v| "#{k.to_xcplist} = #{v.to_xcplist};" end.join("\n") %{{ #{plist_of_items} }} end end
Version data entries
7 entries across 7 versions & 1 rubygems