Current Rake Application
# File lib/rake/rake_module.rb, line 9
9: def application
10: @application ||= Rake::Application.new
11: end
Set the current Rake application object.
# File lib/rake/rake_module.rb, line 14
14: def application=(app)
15: @application = app
16: end
Return the original directory where the Rake application was started.
# File lib/rake/rake_module.rb, line 19
19: def original_dir
20: application.original_dir
21: end
# File lib/rake/runtest.rb, line 9
9: def run_tests(pattern='test/test*.rb', log_enabled=false)
10: Dir["#{pattern}"].each { |fn|
11: puts fn if log_enabled
12: begin
13: load fn
14: rescue Exception => ex
15: puts "Error in #{fn}: #{ex.message}"
16: puts ex.backtrace
17: assert false
18: end
19: }
20: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.