Top Level Namespace

Defined Under Namespace

Modules: Bard

Instance Method Summary collapse

Instance Method Details

#invoke_task_if_exists(task_name) ⇒ Object



6
7
8
# File 'lib/bard/rake.rb', line 6

def invoke_task_if_exists task_name
  Rake::Task[task_name].invoke if Rake::Task.task_defined? task_name
end