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

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:02645] Re: Ruby Toplevel

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

> Hi,
> 
> In message "[ruby-talk:02643] Ruby Toplevel"
>     on 00/05/08, Dave Thomas <Dave@thomases.com> writes:
> 
> |Is there any way to express the Ruby toplevel in Ruby itself (without
> |cheating and using TOPLEVEL_BINDING)?
> 
> I don't think there is.
> Why don't you use TOPLEVEL_BINDING?  I'm curious.

I was trying to write a section on the toplevel environment for the
book. Writing it using TOPLEVEL_BINDING is sort of recursive, and
doesn't really clarify the explanation. I think I'm just going to have
to fall back on something like "At the top level, we're executing code
in the context of some pre-defined object." (unless you can think of a 
better way ;-)

Dave


In This Thread