Sha256: 537684ae0b8fe03e62e52b29e9cdb8be8e2e9215e6a3514121d898d82ff80cee

Contents?: true

Size: 271 Bytes

Versions: 14

Compression:

Stored size: 271 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)
        object.send method, *args
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
wireframe-backgrounded-0.3.0 lib/handler/inprocess_handler.rb
backgrounded-0.7.5 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-0.7.4 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-0.7.3 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-0.7.2 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-0.7.1 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-0.7.0 lib/backgrounded/handler/inprocess_handler.rb
phene-backgrounded-0.6.2 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-0.6.2 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-0.6.1 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-0.6.0 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-0.5.0 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-0.4.1 lib/backgrounded/handler/inprocess_handler.rb
backgrounded-0.3.1 lib/handler/inprocess_handler.rb