commit 5e955c2ff8b96de69630145b5525b0c497799fed
parent 51e14a0a30b37f08b230a377d17bcf42f729b0b2
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Mon, 16 Apr 2007 23:55:19 +0000
relay respond_to? in Recoverable
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@383 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/sup/util.rb b/lib/sup/util.rb
@@ -303,6 +303,8 @@ class Recoverable
def to_yaml x; __pass :to_yaml, x; end
def is_a? c; @o.is_a? c; end
+ def respond_to? m; @o.respond_to? m end
+
def __pass m, *a, &b
begin
@o.send(m, *a, &b)