From: ts Date: 2004-09-26T01:52:17+09:00 Subject: Re: Proc / def / yield semantics (long) >>>>> "M" == Markus writes: M> * It does not appear to be possible to subclass Proc without M> getting the special case behavior svg% cat b.rb #!/usr/bin/ruby class A < Proc def self.new(&block) proc(&block) end end a = A.new {|a, *b| p a, b } a.call([1, 2, 3]) svg% svg% b.rb [1, 2, 3] [] svg% Guy Decoux