Sha256: 99335f27b0fb8df4248403667e50503800be30caf351e45e297160159da6264d

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

# 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

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
say_when-1.0.0 lib/say_when/processor/base.rb