Online browsable ruby source tree

Hi, I’m looking about for a browsable online version of Ruby’s source
code, but I’ve not found one. Anyone come across such a thing?

Specifically, I want to look at the files in “ext/dl/doc/” that are
referenced in many places, but don’t seem to be obviously available
online. I’ve downloaded the source and I’ll look in there, but it
seems a bit silly to need to do that.

Cheers,
Benjohn

On 1/8/07, Benjohn B. [email protected] wrote:

Hi, I’m looking about for a browsable online version of Ruby’s source
code, but I’ve not found one. Anyone come across such a thing?

http://svn.ruby-lang.org/ (newly minted, may not be linked widely yet)

Cheers,
/Nick

On 8 Jan 2007, at 22:27, Nick S. wrote:

On 1/8/07, Benjohn B. [email protected] wrote:

Hi, I’m looking about for a browsable online version of Ruby’s source
code, but I’ve not found one. Anyone come across such a thing?

http://svn.ruby-lang.org/ (newly minted, may not be linked widely yet)

That’s marvellous, thank you.

:slight_smile: Having looked in the “ext/dl” folder though, it no longer has a
“doc” sub folder. Perhaps the content has been moved in line? For
anyone after the same info as me, and for the archives, here’s the
type specifier section of the DL documentation:

H : short
s : char *
DL.callback('IPP'){|ptr1,ptr2|
  str1 = ptr1.ptr.to_s
  str2 = ptr2.ptr.to_s
  str1 <=> str2
}

=end

Cheers,
Benjohn