On Feb 14, 1:44 pm, Eric Hodel <drbr... / segment7.net> wrote:
> On Feb 14, 2007, at 12:05, Daniel Berger wrote:
>
> > On Feb 14, 12:50 pm, "Lyle Johnson" <lyle.john... / gmail.com> wrote:
> >> On 2/14/07, Eric Hodel <drbr... / segment7.net> wrote:
>
> >>> One of these days I'm going to write a patch to expose this to
> >>> Ruby :P
>
> >> Expose what to Ruby?
>
> > I think he just means that there's no direct equivalent in plain Ruby
> > (right?).
>
> Yup.  I've reimplemented rb_path2class() numerous times in ruby, and
> there's a perfectly good C method lying around that needs only a one-
> line patch to be accessible.
>
> > I think just patching const_get to handle "::" would suffice.
>
> Possibly.

I tried messing with object.c yesterday, but I couldn't make it work.
Any ideas for a patch?  It would be nice to get one in for 1.8.6 if
possible.

Dan