Hi,
Florian Frank wrote:
> Inheriting from Proc used to work in 1.8, but now it doesn't. Is this a bug or an intended change?
This issue is same as following example:
class Foo
def self.new
end
end
class Bar < Foo
def initialize v
p v
super
end
end
Bar.new(1)
#=> in `new': wrong number of arguments (1 for 0) (ArgumentError)
In 1.9, Proc.new is defined. I'll try to fix this problem.
Regards,
--
// SASADA Koichi at atdot dot net