Sha256: 616edbeaeeb0649310414be544b1d5fdbeba3e21f5379b560e819f3263adf003

Contents?: true

Size: 297 Bytes

Versions: 8

Compression:

Stored size: 297 Bytes

Contents

# encoding: utf-8

module SayWhen
  module Processor
    class TestStrategy
      class << self
        def process(job)
          self.jobs << job
        end

        def reset
          self.jobs = []
        end

        def jobs
          @jobs ||= []
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
say_when-2.2.2 lib/say_when/processor/test_strategy.rb
say_when-2.2.1 lib/say_when/processor/test_strategy.rb
say_when-2.2.0 lib/say_when/processor/test_strategy.rb
say_when-2.1.1 lib/say_when/processor/test_strategy.rb
say_when-2.1.0 lib/say_when/processor/test_strategy.rb
say_when-2.0.2 lib/say_when/processor/test_strategy.rb
say_when-2.0.1 lib/say_when/processor/test_strategy.rb
say_when-2.0.0 lib/say_when/processor/test_strategy.rb