Class: Workling::Remote::Runners::NotRemoteRunner
- Defined in:
- lib/workling/remote/runners/not_remote_runner.rb
Instance Method Summary collapse
-
#run(clazz, method, options = {}) ⇒ Object
directly dispatches to the worker method, in-process.
Methods inherited from Base
Instance Method Details
#run(clazz, method, options = {}) ⇒ Object
directly dispatches to the worker method, in-process. options are first marshalled then dumped in order to simulate the sideeffects of a remote call.
14 15 16 17 18 19 |
# File 'lib/workling/remote/runners/not_remote_runner.rb', line 14 def run(clazz, method, = {}) = Marshal.load(Marshal.dump()) # get this to behave more like the remote runners dispatch!(clazz, method, ) return nil # nada. niente. end |