fffs 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fffs/directory.rb +6 -0
- data/lib/fffs/filesystem.rb +2 -2
- data/lib/fffs/node.rb +1 -1
- metadata +2 -2
data/lib/fffs/directory.rb
CHANGED
data/lib/fffs/filesystem.rb
CHANGED
@@ -59,10 +59,10 @@ class FileSystem < Directory
|
|
59
59
|
self << File.new(name, content)
|
60
60
|
end
|
61
61
|
else
|
62
|
-
into =
|
62
|
+
into = self
|
63
63
|
|
64
64
|
path.split('/').each {|dir|
|
65
|
-
into =
|
65
|
+
into = into[dir] || (into << Directory.new(dir))
|
66
66
|
}
|
67
67
|
|
68
68
|
if link
|
data/lib/fffs/node.rb
CHANGED