Class: Data
- Inherits:
-
Object
- Object
- Data
- Defined in:
- lib/everythingrb/data.rb
Overview
Extensions to Ruby’s core Data class
Provides:
-
#to_deep_h: Recursively convert to hash with all nested objects
Instance Method Summary collapse
-
#to_deep_h ⇒ Hash
Recursively converts the Data object and all nested objects to hashes.
Instance Method Details
#to_deep_h ⇒ Hash
Recursively converts the Data object and all nested objects to hashes
20 21 22 |
# File 'lib/everythingrb/data.rb', line 20 def to_deep_h to_h.to_deep_h end |