Module: Disposable::Twin::Sync::SkipGetter
- Defined in:
- lib/disposable/twin/sync.rb
Overview
Include this won’t use the getter #title in #sync but read directly from @fields.
Instance Method Summary collapse
Instance Method Details
#nested_hash_source ⇒ Object
132 133 134 |
# File 'lib/disposable/twin/sync.rb', line 132 def nested_hash_source OpenStruct.new(@fields) end |
#sync_read(dfn) ⇒ Object
128 129 130 |
# File 'lib/disposable/twin/sync.rb', line 128 def sync_read(dfn) @fields[dfn.name] end |