Module: Plato::Repo::StringCodec
Instance Method Summary collapse
Instance Method Details
#read(path) ⇒ Object
92 93 94 |
# File 'lib/plato/repo.rb', line 92 def read(path) File.read(path) end |
#write(path, data) ⇒ Object
88 89 90 |
# File 'lib/plato/repo.rb', line 88 def write(path, data) File.open(path, 'w') {|f| f.write data } end |