Module: Disposable::Twin::Sync::ToNestedHash
- Included in:
- Disposable::Twin::Sync
- Defined in:
- lib/disposable/twin/sync.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#nested_hash_source ⇒ Object
54 55 56 |
# File 'lib/disposable/twin/sync.rb', line 54 def nested_hash_source self end |
#to_nested_hash ⇒ Object
50 51 52 |
# File 'lib/disposable/twin/sync.rb', line 50 def to_nested_hash(*) self.class.nested_hash_representer.new(nested_hash_source).to_hash end |