Class: OpenHAB::RSpec::Mocks::CallbacksMap
- Inherits:
-
Object
- Object
- OpenHAB::RSpec::Mocks::CallbacksMap
- Defined in:
- lib/openhab/rspec/mocks/synchronous_executor.rb
Instance Method Summary collapse
Instance Method Details
#put(_rule_uid, trigger_handler) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/openhab/rspec/mocks/synchronous_executor.rb', line 9 def put(_rule_uid, trigger_handler) if trigger_handler.executor trigger_handler.executor.shutdown_now trigger_handler.executor = SynchronousExecutor.instance end super end |