Class: Chemtrail::PropertyList
- Inherits:
-
Hash
- Object
- Hash
- Chemtrail::PropertyList
- Defined in:
- lib/chemtrail/property_list.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
2 3 4 5 6 7 |
# File 'lib/chemtrail/property_list.rb', line 2 def to_hash reduce(self) do |property_list, (key, value)| property_list[key] = Chemtrail::ReferencePresenter.new(value).to_parameter property_list end end |