On Sat, 2004-09-25 at 09:52, ts wrote:
> >>>>> "M" == Markus  <markus / reality.com> 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%

     But a.class is Proc, not A.

        -- Markus