Able to set place of cronotab.rb

This commit is contained in:
Dzmitry Plashchynski
2015-03-03 18:56:29 +02:00
parent b301b95ae5
commit 9675fc3517
3 changed files with 25 additions and 2 deletions
+3
View File
@@ -1,11 +1,14 @@
module Crono
class Config
CRONOTAB = "config/cronotab.rb"
include Singleton
attr_accessor :schedule
attr_accessor :cronotab
def initialize
self.schedule = Schedule.new
self.cronotab = CRONOTAB
end
end