[Nitro] Part.require

Arne Brasseur arne at arnebrasseur.net
Tue Jun 12 17:14:33 EDT 2007


I was looking at nitro/part.rb. The rdoc says that part/name/run.rb is 
an optional standalone example app. This make sense to me. Later on 
there is a method Part.require that requires that run.rb. Is this the 
intended behaviour? Should it be used within a Nitro app or not?

Personally I'd say it would make more sense to let
  Part.require 'users'
  require 'part/users'

It's a trivial change but I could send a patch if you prefer.


Arne Brasseur @ your service
arne at arnebrasseur.net

More information about the Nitro-general mailing list