Sha256: f533ccf8bf679bf8e47a5f6ecc27e9155b9bcf1ff0d80531a434962e4e42fd73

Contents?: true

Size: 282 Bytes

Versions: 5

Compression:

Stored size: 282 Bytes

Contents

module Backgrounded
  module Handler
    #simple handler to process synchronously and not actually in the background
    #useful for testing
    class InprocessHandler
      def request(object, method, args, options={})
        object.send method, *args
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
backgrounded-2.1.2 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-2.1.1 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-2.1.0 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-2.0.0.pre2 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-2.0.0.pre1 lib/backgrounded/handler/inprocess_handler.rb