Sha256: e5eba5d1051e9163716394b660f5b18e24d06acd5a7c75f013d469980756b4bd

Contents?: true

Size: 246 Bytes

Versions: 1

Compression:

Stored size: 246 Bytes

Contents

class Skynet
  include SkynetDebugger
  def self.new(options={})            
    if 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.1 lib/skynet/skynet_launcher.rb