From: chr_news@... (chr_news@...) Date: 2001-11-20T05:51:04+09:00 Subject: [ruby-talk:25861] A bug invoking a method with send? Hi, the following snippet demonstrates a bug (?) in the current cvs ... --------- class G < Proc def initialize(enum,sym = :each) super() @enum = enum @sym = sym end def run # the next line works in 1.6.5-cygwin but not in cvs # @enum.send (@sym, &self) # work around @enum.send (@sym, *[], &self) end end a = nil t = G.new (1..4) {|b| print a*b } a = -1 t.run # => -1-2-3-4 Christoph