lib/stashify/file/local.rb in stashify-2.1.1 vs lib/stashify/file/local.rb in stashify-3.0.0

- old
+ new

@@ -6,8 +6,16 @@ class File class Local < Stashify::File def contents ::File.read(path) end + + def write(contents) + ::File.write(path, contents) + end + + def delete + ::File.delete(path) + end end end end