Class: Whenever::Job::RakeTask

Inherits:
Default
  • Object
show all
Defined in:
lib/whenever/job_types/rake_task.rb

Instance Attribute Summary

Attributes inherited from Default

#at, #output_redirection, #task

Instance Method Summary collapse

Methods inherited from Default

#initialize

Constructor Details

This class inherits a constructor from Whenever::Job::Default

Instance Method Details

#outputObject



5
6
7
8
# File 'lib/whenever/job_types/rake_task.rb', line 5

def output
  path_required
  "cd #{@path} && #{@framework_env}=#{@environment} #{@rake_path} #{task}"
end