Module: AssOle::Runtimes Private
- Defined in:
- lib/ass_ole.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Runtimes hold all created Ole runtimes and stopped they in at_axit see Runtimes.do_at_exit
Defined Under Namespace
Modules: AbstractRuntime, App, Claster, ModuleMethods, RuntimeDispatcher
Class Method Summary collapse
-
.do_at_exit ⇒ Object
private
‘at_exit` handler closed all opened connections.
- .runtimes ⇒ Object private
Class Method Details
.do_at_exit ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
‘at_exit` handler closed all opened connections
21 22 23 |
# File 'lib/ass_ole.rb', line 21 def self.do_at_exit runtimes.each(&:stop) end |
.runtimes ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/ass_ole.rb', line 15 def self.runtimes @runtimes ||= [] end |