Method: Rake::Application#top_level
- Defined in:
- lib/rake/application.rb
#top_level ⇒ Object
Run the top level tasks of a Rake application.
101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/rake/application.rb', line 101 def top_level run_with_threads do if .show_tasks display_tasks_and_comments elsif .show_prereqs display_prerequisites else top_level_tasks.each { |task_name| invoke_task(task_name) } end end end |