Method: Rake::Application#run
- Defined in:
- lib/rake/application.rb
#run ⇒ Object
Run the Rake application. The run method performs the following three steps:
-
Initialize the command line options (
init
). -
Define the tasks (
load_rakefile
). -
Run the top level tasks (
top_level
).
If you wish to build a custom rake command, you should call init
on your application. Then define any tasks. Finally, call top_level
to run your top level tasks.
74 75 76 77 78 79 80 |
# File 'lib/rake/application.rb', line 74 def run standard_exception_handling do init load_rakefile top_level end end |