Included Modules

Rake

Constants

VERSION
EMPTY_TASK_ARGS
EARLY

Public Class Methods

application() click to toggle source

Current Rake Application

    # File lib/rake/rake_module.rb, line 9
 9:     def application
10:       @application ||= Rake::Application.new
11:     end
application=(app) click to toggle source

Set the current Rake application object.

    # File lib/rake/rake_module.rb, line 14
14:     def application=(app)
15:       @application = app
16:     end
original_dir() click to toggle source

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

Public Instance Methods

run_tests(pattern='test/test*.rb', log_enabled=false) click to toggle source
    # 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.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.