Class: Zonesync::Memory

Inherits:
Provider show all
Extended by:
T::Sig
Defined in:
lib/zonesync/provider.rb

Instance Attribute Summary

Attributes inherited from Provider

#config

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

#readObject



135
136
137
# File 'lib/zonesync/provider.rb', line 135

def read
  config.fetch(:string)
end

#write(string) ⇒ Object



140
141
142
143
# File 'lib/zonesync/provider.rb', line 140

def write string
  config[:string] = string
  nil
end