Module: Whenever

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

Defined Under Namespace

Modules: Output Classes: CommandLine, Job, JobList

Constant Summary collapse

VERSION =
'0.6.2'

Class Method Summary collapse

Class Method Details

.cron(options) ⇒ Object



13
14
15
# File 'lib/whenever.rb', line 13

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

.pathObject



17
18
19
# File 'lib/whenever.rb', line 17

def self.path
  Dir.pwd
end