Yukihiro Matsumoto
9/6/2008 4:23:00 PM
Hi,
In message "Re: Request for Block local methods, and Proc syntax"
on Sun, 7 Sep 2008 01:08:01 +0900, Patrick Li <patrickli_2001@hotmail.com> writes:
|But I still think it's worth thinking about. In my opinion, DSL's is
|Ruby's greatest strength. It's the one feature where Ruby is light years
|ahead of other languages. And context-sensitive methods are vital to
|DSL's. I think putting in some thought towards this direction could
|really make Ruby stand out.
You can switch the context (the receiver) using instance_eval. Do we
need more?
matz.