[Rubygems-developers] Suggestion: require_gem 'x/y'
Michael Neumann
mneumann at ntecs.de
Thu Jun 24 10:54:06 EDT 2004
On Thu, Jun 24, 2004 at 11:29:26PM +1000, Gavin Sinclair wrote:
> I mentioned recently that my 'extensions' project doesn't have a
> default file that gets loaded. Thus you would have to do this:
>
> require_gem 'extensions'
> require 'extensions/string'
>
> It occured to me today that this is an option:
>
> require_gem 'extensions/string'
>
> It's easy to implement, seems logical, and breaks nothing. Of course,
> you can still have
>
> require_gem 'extensions/string', '> 0.3'
I like it!
Regards,
Michael
More information about the Rubygems-developers
mailing list