Location of core *.rb source files?

Hello!

I'm brand new to ruby - just got a copy of the pickaxe II and am working
through the beginning chapters.

First thing I did after installing ruby is I went and nosed around in the
sources and just kinda got a feel for things. However, now I'm looking
for the core stuff; particularly Array, Enumerable, Object, etc., etc...
but can't seem to find the code! I'm sure this is a stupid question, but
where do I find the core/built-in/kernel ruby modules?

I've looked under /usr/lib/ruby/1.8/, but all that seems to be the external
library stuff: ie. yaml, cgi, test, etc. etc.

Thanks for the clue!

Cheers,

Corey

···

--

"A man is none the less a slave because he is allowed to choose a new
master once in a term of years."
  - Lysander Spooner,
    'No Treason. No. VI, The Constitution of No Authority'

A lot of things, such as Array, Enumerable, and Object are implemented
in C, not in Ruby.

-austin

···

On Tue, 2 Nov 2004 09:37:39 +0900, Corey <corey_s@qwest.net> wrote:

Hello!

I'm brand new to ruby - just got a copy of the pickaxe II and am working
through the beginning chapters.

First thing I did after installing ruby is I went and nosed around in the
sources and just kinda got a feel for things. However, now I'm looking
for the core stuff; particularly Array, Enumerable, Object, etc., etc...
but can't seem to find the code! I'm sure this is a stupid question, but
where do I find the core/built-in/kernel ruby modules?

I've looked under /usr/lib/ruby/1.8/, but all that seems to be the external
library stuff: ie. yaml, cgi, test, etc. etc.

--
Austin Ziegler * halostatue@gmail.com
               * Alternate: austin@halostatue.ca
: as of this email, I have [ 5 ] Gmail invitations

<snip>

> I'm sure this is a stupid question, but where do I find the
> core/built-in/kernel ruby modules?
>

<snip>

A lot of things, such as Array, Enumerable, and Object are implemented
in C, not in Ruby.

Ok - that makes sense; thanks!

Beers,

Corey

···

On Monday 01 November 2004 05:41 pm, Austin Ziegler wrote:

On Tue, 2 Nov 2004 09:37:39 +0900, Corey <corey_s@qwest.net> wrote:

--

To defy the laws of tradition -
is a crusade, only of the brave.
  - Primus