Module Rake::Environment
In: lib/rake/environment.rb

Rakefile are evaluated in the Rake::Environment module space. Top level rake functions (e.g. :task, :file) are available in this environment.

Methods

Public Class methods

Load a rakefile from the given path. The Rakefile is loaded in an environment that includes the Rake DSL methods.

Load a string of code in the Rake DSL environment. If the string comes from a file, include the file path so that proper line numbers references may be retained.

Run a block of code in the Rake DSL environment.

[Validate]