[#3006] mismatched quotation — "stevan apter" <apter@...>

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:02648] Re: Ruby Toplevel

From: matz@... (Yukihiro Matsumoto)
Date: 2000-05-09 05:32:02 UTC
List: ruby-talk #2648
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.

In This Thread