lib/stashify/file.rb in stashify-3.1.0 vs lib/stashify/file.rb in stashify-3.2.0
- old
+ new
@@ -21,9 +21,13 @@
def delete
@contents = nil
end
+ def exists?
+ !contents.nil?
+ end
+
def ==(other)
name == other.name && contents == other.contents
end
end
end