Add logfile option

This commit is contained in:
Dzmitry Plashchynski
2015-03-03 19:01:33 +02:00
parent 9675fc3517
commit 0ead66f626
4 changed files with 16 additions and 2 deletions
+4 -1
View File
@@ -1,14 +1,17 @@
module Crono
class Config
CRONOTAB = "config/cronotab.rb"
include Singleton
CRONOTAB = "config/cronotab.rb"
LOGFILE = "log/crono.rb"
attr_accessor :schedule
attr_accessor :cronotab
attr_accessor :logfile
def initialize
self.schedule = Schedule.new
self.cronotab = CRONOTAB
self.logfile = LOGFILE
end
end