Class: Rake::Application
Instance Method Summary collapse
- #rake_top_level ⇒ Object
-
#top_level ⇒ Object
Invoked after the main rakefile has been loaded, but before any tasks are executed.
Instance Method Details
#rake_top_level ⇒ Object
73 |
# File 'lib/chrysalis/rake_ext/intercept.rb', line 73 alias_method :rake_top_level, :top_level |
#top_level ⇒ Object
Invoked after the main rakefile has been loaded, but before any tasks are executed.
Chrysalis reimplements this method for the purpose of hooking into the loader and seeding the all: namespace with tasks, prior to retrieval of dependencies.
After invoking the hook, execution proceeds with Rake’s original method.
83 84 85 86 |
# File 'lib/chrysalis/rake_ext/intercept.rb', line 83 def top_level Chrysalis.post :rakefile_loaded rake_top_level end |