Source: show | on GitHub
# File lib/fakefs/fake/symlink.rb, line 6 def initialize(target) @target = target end
# File lib/fakefs/fake/symlink.rb, line 18 def delete parent.delete(self) end
# File lib/fakefs/fake/symlink.rb, line 14 def entry FileSystem.find(target) end
# File lib/fakefs/fake/symlink.rb, line 10 def inspect "symlink(#{target.split('/').last})" end
# File lib/fakefs/fake/symlink.rb, line 22 def respond_to?(method) entry.respond_to?(method) end