Class: Zonesync::Filesystem
- Extended by:
- T::Sig
- Defined in:
- lib/zonesync/provider.rb
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
150 151 152 |
# File 'lib/zonesync/provider.rb', line 150 def read File.read(config.fetch(:path)) end |
#write(string) ⇒ Object
155 156 157 158 |
# File 'lib/zonesync/provider.rb', line 155 def write string File.write(config.fetch(:path), string) nil end |