Class: Nanaimo::Dictionary
Overview
A dictionary object in a Plist.
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
Methods inherited from Object
#<=>, #==, #hash, #initialize, #to_s
Constructor Details
This class inherits a constructor from Nanaimo::Object
Instance Method Details
#as_ruby ⇒ Object
98 99 100 |
# File 'lib/nanaimo/object.rb', line 98 def as_ruby Hash[value.map { |k, v| [k.as_ruby, v.as_ruby] }] end |