lib/vfs/entries/file.rb in vfs-0.1.0 vs lib/vfs/entries/file.rb in vfs-0.1.1

- old
+ new

@@ -19,10 +19,10 @@ data = "" fs.read_file(path){|buff| data << buff} data end rescue StandardError => e - raise Vrs::Error, "can't read Dir #{self}!" if dir.exist? + raise Vfs::Error, "can't read Dir #{self}!" if dir.exist? attrs = get if attrs[:file] # unknown internal error raise e elsif attrs[:dir] \ No newline at end of file