Class: BackgroundLite::InProcessHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/background_lite/core_ext/handlers/in_process_handler.rb

Overview

Executes the method in-process. This handler is probably most useful as a fallback handler.

Class Method Summary collapse

Class Method Details

.handle(object, method, args, options = {}) ⇒ Object

Executes the method in-process.



6
7
8
# File 'lib/background_lite/core_ext/handlers/in_process_handler.rb', line 6

def self.handle(object, method, args, options = {})
  object.send(method, *args)
end