Class: Rake::Application

Inherits:
Object
  • Object
show all
Defined in:
lib/tests/test_structure.rb

Instance Method Summary collapse

Instance Method Details

#collect_tasks(tasks = nil) ⇒ Object



8
9
10
11
# File 'lib/tests/test_structure.rb', line 8

def collect_tasks(tasks = nil)
  return @top_level_tasks unless tasks
  @top_level_tasks.concat tasks
end