Sha256: afb87207bb249018b35d6b69b2b077f3b2fb4731258d202e558fb05f184d8f7a

Contents?: true

Size: 419 Bytes

Versions: 3

Compression:

Stored size: 419 Bytes

Contents

Process.setproctitle('Legion')
require 'concurrent'
require 'securerandom'
require 'legion/exceptions'
require 'legion/version'
require 'legion/process'
require 'legion/service'
require 'legion/extensions'

module Legion
  attr_reader :service

  def self.start
    @service = Legion::Service.new
    Legion::Logging.info("Started Legion v#{Legion::VERSION}")
  end

  def self.shutdown
    @service.shutdown
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
legionio-0.3.2 lib/legion.rb
legionio-0.3.1 lib/legion.rb
legionio-0.3.0 lib/legion.rb