Module: Whenever

Defined in:
lib/whenever/job.rb,
lib/whenever/base.rb,
lib/whenever/version.rb,
lib/whenever/job_list.rb,
lib/whenever/command_line.rb,
lib/whenever/outputs/cron.rb,
lib/whenever/outputs/cron/output_redirection.rb

Defined Under Namespace

Modules: Output Classes: CommandLine, Job, JobList

Constant Summary collapse

VERSION =
'0.5.0'

Class Method Summary collapse

Class Method Details

.cron(options) ⇒ Object



3
4
5
# File 'lib/whenever/base.rb', line 3

def self.cron(options)
  Whenever::JobList.new(options).generate_cron_output
end

.pathObject



7
8
9
# File 'lib/whenever/base.rb', line 7

def self.path
  Dir.pwd
end