Sha256: 1928dc38480a5115dac84bfae17c35b542608ef0663bcbfe3438977bc5b673ce

Contents?: true

Size: 355 Bytes

Versions: 5

Compression:

Stored size: 355 Bytes

Contents

require "tamashii/common"
require "tamashii/agent/version"
require "tamashii/agent/master"
require "tamashii/agent/config"


module Tamashii
  module Agent
    def self.config(&block)
      return Config.class_eval(&block) if block_given?
      Config
    end

    def self.logger
      @logger ||= Tamashii::Logger.new(Config.log_file)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tamashii-agent-0.1.11 lib/tamashii/agent.rb
tamashii-agent-0.1.10 lib/tamashii/agent.rb
tamashii-agent-0.1.9 lib/tamashii/agent.rb
tamashii-agent-0.1.8 lib/tamashii/agent.rb
tamashii-agent-0.1.7 lib/tamashii/agent.rb