Subject: [ruby-talk:4885] Re: Re-binding a block
From: Dave Thomas <Dave thomases.com>
Date: Tue, 12 Sep 2000 13:54:04 +0900
References: 48834884
In-reply-to: matz@zetabits.com's message of "Tue, 12 Sep 2000 13:37:54 +0900"
matz / zetabits.com (Yukihiro Matsumoto) writes:
> Here's the trick. Don't tell anybody. ;-)
>
> self.instance_eval(&@@block)
Ah! Punctuation!
Does this work because the binding takes place whenever a block is
converted to a proc?
(and thanks!)
Dave