lib/say_when/processor/base.rb in say_when-0.4.1 vs lib/say_when/processor/base.rb in say_when-1.0.0
- old
+ new
@@ -1,14 +1,16 @@
+# encoding: utf-8
+
module SayWhen
module Processor
-
+
class Base
attr_accessor :scheduler
-
+
def initialize(scheduler)
@scheduler = scheduler
end
-
+
def process(job)
raise NotImplementedError.new('You need to implement process(job)')
end
end
\ No newline at end of file