lib/stashify/directory/local.rb in stashify-1.0.5 vs lib/stashify/directory/local.rb in stashify-2.0.0
- old
+ new
@@ -35,10 +35,10 @@
def file?(name)
::File.exist?(path_of(name))
end
def file(name)
- Stashify::File::Local.new(path_of(name))
+ Stashify::File::Local.new(path: path_of(name))
end
def directory?(name)
::File.directory?(path_of(name))
end