[Nitro] nitro part generator

George Moschovitis george.moschovitis at gmail.com
Tue Sep 12 17:39:04 EDT 2006

The repo version also puts lib in the Load path so

require part/admin works as well.

I put my parts in the lib directory.


On 9/13/06, Fabian Buch <fabian at fabian-buch.de> wrote:
> Ah, forgot something to say. I did it like this, because to use a
> part you do "require 'part/admin'" in your app. This loads the admin
> part from Nitro. When generated by "gen part" it uses the local (and
> maybe altered by the user) part/admin copy in the app directory.
> So I think it does what one would expect.
> Fabian
> --
> Nitro Q&A: http://oxyliquit.de/
> Blog: http://blog.fabian-buch.de
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general


More information about the Nitro-general mailing list