Sha256: e7fb7623fb48ae15c7cef1a638a16287bc6503c1d155752d1f6d8926ff5a4cac
Contents?: true
Size: 387 Bytes
Versions: 4
Compression:
Stored size: 387 Bytes
Contents
require 'singleton' require 'tlogger' require_relative 'config' module Hitcher class Global include Singleton attr_accessor :glog, :config def initialize @glog = Tlogger.init @glog.show_source @glog.tag = "Hitcher" @config = Config.init_config if @config.nil? end def reload_config @config = Config.init_config end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
Hitcher-0.1.3 | lib/hitcher/global.rb |
Hitcher-0.1.2 | lib/hitcher/global.rb |
Hitcher-0.1.1 | lib/hitcher/global.rb |
Hitcher-0.1.0 | lib/hitcher/global.rb |