Class: Zonesync::Memory
Instance Attribute Summary
Attributes inherited from Provider
Instance Method Summary collapse
Methods inherited from Provider
#add, #add_with_duplicate_handling, #change, #diff, #diff!, #diffable_records, from, #initialize, #manifest, #records, #remove
Constructor Details
This class inherits a constructor from Zonesync::Provider
Instance Method Details
#read ⇒ Object
109 110 111 |
# File 'lib/zonesync/provider.rb', line 109 def read config.fetch(:string) end |
#write(string) ⇒ Object
113 114 115 116 |
# File 'lib/zonesync/provider.rb', line 113 def write(string) config[:string] = string nil end |