[Nitro] Part.require

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


Hi,

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'
issue
  require 'part/users'

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

regards
(ab)


-- 
Arne Brasseur @ your service
http://www.arnebrasseur.net
arne at arnebrasseur.net
+32/496/94.55.63


More information about the Nitro-general mailing list