From: Patrick Li Date: 2008-08-09T05:16:39+09:00 Subject: Re: Works in irb but not elsewhere Thanks for all your comments: I think there's a bug in how ruby treats block parameters. ie. the following works def myMethod &block A.new.instance_eval &block end but this doesn't def myMethod A.new.instance_eval{yield} end Thanks goes to cardboard42 for noticing that. -- Posted via http://www.ruby-forum.com/.