1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #2179 from alindeman/quack-like-other-directories

Local storage's File quacks like other Directories
This commit is contained in:
Wesley Beary 2013-09-26 13:40:28 -07:00
commit 1173bd9cf7

View file

@ -18,7 +18,7 @@ module Fog
load(data)
end
def get(key)
def get(key, options = {})
if ::File.directory?(service.path_to(key))
new(:key => key)
else