removed base.rb
This commit is contained in:
parent
2d54a8905a
commit
2060cb95fa
@ -1,10 +1,21 @@
|
|||||||
require 'chronic'
|
require 'chronic'
|
||||||
require 'active_support/all'
|
require 'active_support/all'
|
||||||
|
|
||||||
require 'whenever/base'
|
|
||||||
require 'whenever/job_list'
|
require 'whenever/job_list'
|
||||||
require 'whenever/job'
|
require 'whenever/job'
|
||||||
require 'whenever/cron'
|
require 'whenever/cron'
|
||||||
require 'whenever/output_redirection'
|
require 'whenever/output_redirection'
|
||||||
require 'whenever/command_line'
|
require 'whenever/command_line'
|
||||||
require 'whenever/version'
|
require 'whenever/version'
|
||||||
|
|
||||||
|
module Whenever
|
||||||
|
|
||||||
|
def self.cron(options)
|
||||||
|
Whenever::JobList.new(options).generate_cron_output
|
||||||
|
end
|
||||||
|
|
||||||
|
def self.path
|
||||||
|
Dir.pwd
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
@ -1,11 +0,0 @@
|
|||||||
module Whenever
|
|
||||||
|
|
||||||
def self.cron(options)
|
|
||||||
Whenever::JobList.new(options).generate_cron_output
|
|
||||||
end
|
|
||||||
|
|
||||||
def self.path
|
|
||||||
Dir.pwd
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
|
Loading…
Reference in New Issue
Block a user