Hi, At Sat, 19 Jul 2003 03:56:43 +0900, dblack / superlink.net wrote: > > It has been merged to Proc again. Now they are distinguished > > by how to create. > > > > $ ruby -e 'Proc.new {|a,b|}.call' > > $ ruby -e 'proc {|a,b|}.call' > > -e:1: wrong number of arguments (0 for 2) (ArgumentError) > > from -e:1:in `call' > > from -e:1 > > Can you elaborate on the reason for doing it that way, instead of a > different class? The Block class seemed much cleaner to me. According to Matz diary (http://www.rubyist.net/~matz/?date=20030616#p05), apparently, because they are too similar. -- Nobu Nakada