]> git.cworth.org Git - sup/commitdiff
relay respond_to? in Recoverable
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Mon, 16 Apr 2007 23:55:19 +0000 (23:55 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Mon, 16 Apr 2007 23:55:19 +0000 (23:55 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@383 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/util.rb

index 79e9b21669fefcc1d18d671a23c0575a2bfea1af..b36cb589b280cb707c6f7a158e35e9be7030c6c8 100644 (file)
@@ -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)