class Import_Module::Thread

Attributes

__IMPORT_MODULE_PREFIX_proxy[RW]
__IMPORT_MODULE_PREFIX_stack[RW]

Public Class Methods

fork(*opts, &b)
Alias for: new
new(*opts) { |*opts| ... } click to toggle source
# File lib/algebra/import-module.rb, line 389
def new(*opts, &b)
  Thread.new_org(Thread.current, *opts) do |parent, *opts|
    Thread.current.__IMPORT_MODULE_PREFIX_stack = parent.__IMPORT_MODULE_PREFIX_stack.dup
    yield *opts
  end
end
Also aliased as: new_org, start, fork
new_org(*opts, &b)
Alias for: new
start(*opts, &b)
Alias for: new