Module: Whenever
- Defined in:
- lib/whenever/base.rb,
lib/whenever/version.rb,
lib/whenever/job_list.rb,
lib/whenever/command_line.rb,
lib/whenever/job_sequence.rb,
lib/whenever/outputs/cron.rb,
lib/whenever/job_types/runner.rb,
lib/whenever/job_types/default.rb,
lib/whenever/job_types/cap_task.rb,
lib/whenever/job_types/rake_task.rb,
lib/whenever/outputs/cron/output_redirection.rb
Defined Under Namespace
Modules: Job, Output
Classes: CommandLine, JobList, JobSequence
Constant Summary
collapse
- VERSION =
'0.4.3'
Class Method Summary
collapse
Class Method Details
.path ⇒ Object
7
8
9
10
11
12
13
|
# File 'lib/whenever/base.rb', line 7
def self.path
if defined?(RAILS_ROOT)
RAILS_ROOT
elsif defined?(::RAILS_ROOT)
::RAILS_ROOT
end
end
|