Sha256: f6f61a1cee1f6c8e2015057552327780a280eafafb848ef6932721e3bf3a8e2c
Contents?: true
Size: 375 Bytes
Versions: 1
Compression:
Stored size: 375 Bytes
Contents
# FIXME: should be a module class Skynet include SkynetDebugger def self.new(options={}) if ARGV.detect {|a| a == 'console' } ARGV.delete('console') Skynet::Console.start elsif options[:worker_type] or ARGV.detect {|a| a =~ /worker_type/ } Skynet::Worker.start(options) else Skynet::Manager.start(options) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skynet-0.9.2 | lib/skynet/skynet_launcher.rb |