Refactoring

This commit is contained in:
Dzmitry Plashchynski
2015-03-10 23:33:14 +02:00
parent 5a5c29c52a
commit 6674bca0be
2 changed files with 2 additions and 11 deletions
+1 -6
View File
@@ -5,12 +5,7 @@ module Crono
class Job
include Logging
attr_accessor :performer
attr_accessor :period
attr_accessor :last_performed_at
attr_accessor :job_log
attr_accessor :job_logger
attr_accessor :healthy
attr_accessor :performer, :period, :last_performed_at, :job_log, :job_logger, :healthy
def initialize(performer, period)
self.performer, self.period = performer, period