# File lib/spork/app_framework/padrino.rb, line 18
18: def boot_contents
19: @boot_contents ||= File.read(boot_file)
20: end
# File lib/spork/app_framework/padrino.rb, line 13
13: def entry_point
14: @entry_point ||= File.expand_path("config/boot.rb", Dir.pwd)
15: end
# File lib/spork/app_framework/padrino.rb, line 3
3: def preload(&block)
4: STDERR.puts "Preloading Padrino environment"
5: STDERR.flush
6: ENV["PADRINO_ENV"] ||= "test"
7: require boot_file
8: # Make it so that we don't have to restart Spork if we change, say, a model or routes
9: Spork.each_run { ::Padrino.reload! }
10: yield
11: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.