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

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:02647] Re: Ruby Toplevel

From: Dave Thomas <Dave@...>
Date: 2000-05-09 05:18:13 UTC
List: ruby-talk #2647
matz@netlab.co.jp (Yukihiro Matsumoto) writes:

> I see what you mean.  I was misunderstanding you.  Just use
> `binding' method at the toplevel.  It returns the current binding.

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


Dave

In This Thread