Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/vendor/extensions/hash.rb
Instance Method Summary collapse
Instance Method Details
#to_ascii_plist ⇒ Object
3 4 5 6 7 8 |
# File 'lib/vendor/extensions/hash.rb', line 3 def to_ascii_plist inner = [] each { |k, v| inner << " #{k.to_s.to_ascii_plist} = #{v.to_ascii_plist};" } "{\n#{inner.join("\n")}\n}" end |