Changeset 228 for trunk/lib/camping/reloader.rb
- Timestamp:
- 09/26/2007 17:39:26 (14 months ago)
- Files:
-
- 1 modified
-
trunk/lib/camping/reloader.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/camping/reloader.rb
r225 r228 64 64 end 65 65 rescue Exception => e 66 puts "!! trouble loading #{title }: [#{e.class}] #{e.message}"66 puts "!! trouble loading #{title.inspect}: [#{e.class}] #{e.message}" 67 67 puts e.backtrace.join("\n") 68 68 find_app title … … 74 74 find_app title 75 75 unless @klass and @klass.const_defined? :C 76 puts "!! trouble loading #{title }: not a Camping app, no #{title.capitalize} module found"76 puts "!! trouble loading #{title.inspect}: not a Camping app, no #{title.capitalize} module found" 77 77 remove_app 78 78 return … … 81 81 Reloader.conditional_connect 82 82 @klass.create if @klass.respond_to? :create 83 puts " !! loaded #{title}"83 puts "** #{title.inspect} app loaded" 84 84 @klass 85 85 end
