From 46b62a54d93b18920bcd20c030c89f6aebfc997a Mon Sep 17 00:00:00 2001 From: Matt Freels Date: Tue, 28 Jul 2009 00:20:06 -0700 Subject: [PATCH] symlink needs respond_to? if method_missing is used --- lib/fakefs/fake/symlink.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/fakefs/fake/symlink.rb b/lib/fakefs/fake/symlink.rb index ef78c5e..aef056e 100644 --- a/lib/fakefs/fake/symlink.rb +++ b/lib/fakefs/fake/symlink.rb @@ -18,5 +18,9 @@ module FakeFS def method_missing(*args, &block) entry.send(*args, &block) end + + def respond_to?(method) + entry.respond_to?(method) + end end end