Sha256: b4bc1e06373df80954f145f13619a60d4bef868705994fe0065b6ada9dd824e6

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

module Pione
  module System
    class Init
      def init
        # init globals
        Global.init

        # load configration file
        System::Config.load(Global.config_path)

        # relay client database
        Global.relay_client_db = Relay::RelayClientDB.new(Global.relay_client_db_path)

        # relay account database
        Global.relay_account_db = Relay::RelayAccountDB.new(Global.relay_account_db_path)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pione-0.1.2 lib/pione/system/init.rb
pione-0.1.1 lib/pione/system/init.rb