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

Class Method Details

.do_at_exitObject

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



23
24
25
# File 'lib/ass_ole.rb', line 23

def self.do_at_exit
  runtimes.each(&:stop)
end

.runtimesObject

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.



17
18
19
# File 'lib/ass_ole.rb', line 17

def self.runtimes
  @runtimes ||= []
end