lib/vfs/entry_proxy.rb in vfs-0.3.13 vs lib/vfs/entry_proxy.rb in vfs-0.3.14
- old
+ new
@@ -1,12 +1,11 @@
#
-# It allows you dynamically (magically) switch between UniversalEntry/Dir/File
+# It allows dynamically (magically) switching between UniversalEntry/Dir/File
#
module Vfs
class EntryProxy < BasicObject
attr_reader :_target
- # WRAP = [:[], :entry, :dir, :file].to_set
def initialize entry
raise 'something wrong happening here!' if entry.respond_to?(:proxy?) and entry.proxy?
self._target = entry
end
@@ -29,10 +28,8 @@
self._target = _target.file
end
end
_target.send m, *a, &b
-
- # return WRAP.include?(m) ? EntryProxy.new(result) : result
end
end
end
\ No newline at end of file