Class: BackgroundLite::InProcessHandler
- 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
-
.handle(object, method, args, options = {}) ⇒ Object
Executes the method in-process.
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, = {}) object.send(method, *args) end |