Module: Go

Defined in:
lib/go.rb,
lib/go/kernel.rb,
lib/go/channel.rb,
lib/go/version.rb

Defined Under Namespace

Classes: Channel, Exit, GoKernel

Constant Summary collapse

VERSION =
"1.1.0"
@@logger =
Logger.new(STDOUT)
@@config =
Concur::Config.new

Class Method Summary collapse

Class Method Details

.configObject



20
21
22
# File 'lib/go.rb', line 20

def self.config
  @@config ||= Config.new
end

.gokObject



15
16
17
# File 'lib/go/kernel.rb', line 15

def self.gok
  @gok ||= GoKernel.new(Go.config)
end

.loggerObject



13
14
15
# File 'lib/go.rb', line 13

def self.logger
  @@logger
end

.logger=(logger) ⇒ Object



16
17
18
# File 'lib/go.rb', line 16

def self.logger=(logger)
  @@logger = logger
end