lib/stashify/directory.rb in stashify-3.1.0 vs lib/stashify/directory.rb in stashify-3.2.0

- old
+ new

@@ -60,10 +60,12 @@ def eql?(other) self.class == other.class && name == other.name && path == other.path end - private + def file(name) + Stashify::File.new(path: path_of(name)) + end def path_of(*name) ::File.join(path, *name) end end