[Ironruby-core] Support For Referencing Ruby Libs As Embedded Resources?
michael.letterle at gmail.com
Fri Feb 8 22:11:27 EST 2008
I'd personally much rather see it done via something like urirequire
(heck if it's that needed, someone can write resrequire ;) )
Though there is a debate in there about if require should handle URIs
in general or not, I think it's one for Ruby in general to have...
On Feb 8, 2008 9:54 PM, Curt Hagenlocher <curt at hagenlocher.org> wrote:
> 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
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
More information about the Ironruby-core