# Online browsable ruby source tree

**URL:** <https://www.ruby-forum.com/t/online-browsable-ruby-source-tree/81415>\
**Category:** Ruby\
**Created:** [January 8, 2007, 11:17pm UTC](https://www.ruby-forum.com/t/online-browsable-ruby-source-tree/81415 "2007-01-08T23:17:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjohn\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e5b9ba/32.png) [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Post date:** [January 8, 2007, 11:17pm UTC](https://www.ruby-forum.com/t/online-browsable-ruby-source-tree/81415/1 "2007-01-08T23:17:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Benjohn\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e5b9ba/32.png) [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Post date:** [January 8, 2007, 11:28pm UTC](https://www.ruby-forum.com/t/online-browsable-ruby-source-tree/81415/2 "2007-01-08T23:28:57Z")

</div>

On 1/8/07, Benjohn B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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/](http://svn.ruby-lang.org/) (newly minted, may not be linked widely yet)

Cheers,  
/Nick

---

<div class="post-metadata">

**Author:** ![Benjohn\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e5b9ba/32.png) [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Post date:** [January 9, 2007, 12:33am UTC](https://www.ruby-forum.com/t/online-browsable-ruby-source-tree/81415/3 "2007-01-09T00:33:01Z")

</div>

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

> On 1/8/07, Benjohn B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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/](http://svn.ruby-lang.org/) (newly minted, may not be linked widely yet)

That’s marvellous, thank you.

🙂 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
