module Whenever

Constants

VERSION

Public Class Methods

bundler?() click to toggle source
# File lib/whenever.rb, line 26
def self.bundler?
  File.exists?(File.join(path, 'Gemfile'))
end
cron(options) click to toggle source
# File lib/whenever.rb, line 14
def self.cron(options)
  Whenever::JobList.new(options).generate_cron_output
end
path() click to toggle source
# File lib/whenever.rb, line 18
def self.path
  Dir.pwd
end
rails3?() click to toggle source
# File lib/whenever.rb, line 22
def self.rails3?
  File.exists?(File.join(path, 'script', 'rails'))
end