[Ironruby-core] Support For Referencing Ruby Libs As Embedded Resources?

Curt Hagenlocher curt at hagenlocher.org
Fri Feb 8 21:54:35 EST 2008


On Feb 8, 2008 6:16 PM, M. David Peterson <m.david at xmlhacker.com> wrote:

> On Fri, 08 Feb 2008 19:09:25 -0700, John Messerly <jomes at microsoft.com>
> wrote:
>
> > I guess I'd be hesitant to change the meaning of "require". The way we
> > have it now (require 'mscorlib') is nice because it's not changing the
> > behavior. If you really wanted to you could write mscorlib.rb and run
> > your code on another Ruby implementation.
>
> Oh, I'm not suggesting changing the meaning, just adding a handler for the
> 'res' protocol that would locate the source file via an assembly rather
> than the file system.
>

After all, if urirequire can do this for "http:"...

--
Curt Hagenlocher
curt at hagenlocher.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080208/71d92fec/attachment.html 


More information about the Ironruby-core mailing list