Hi,
In message "[ruby-talk:02647] Re: Ruby Toplevel"
on 00/05/09, Dave Thomas <Dave / thomases.com> writes:
|True enough. What I'm trying to illustrate though is how that binding
|gets set up. It would be nice to be able to say something like:
|
| Ruby behaves as if your program was wrapped in the following code
|
| xxx
| yyy
| #
| # your program goes here
| #
| zzz
?
Bindings can only be used for the optional second argument of eval().
Binding = binding() # a)
...
eval("something", Binding) # evaluate on context of a)
matz.