Sha256: d9f9e50b80d0c0568326d70134ed2b6a05192df68c11ff1f52f985203f8fbe16

Contents?: true

Size: 349 Bytes

Versions: 17

Compression:

Stored size: 349 Bytes

Contents

# encoding: utf-8
# This file is distributed under Ting Yun's license terms.
require 'ting_yun/agent'

module TingYun
  module Agent
    module ClassMethods
      def config
        ::TingYun::Agent.config
      end

      def logger
        ::TingYun::Agent.logger
      end

      def instance
        @instance ||= new
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
tingyun_rpm-3.2.0 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.6.1 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.5.0 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.4.2 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.4.1 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.3.1 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.3.0 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.2.0 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.1.4.2 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.1.4.1 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.1.4 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.1.3 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.1.2 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.1.1 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.1.0 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.0.7 lib/ting_yun/agent/class_methods.rb
tingyun_rpm-1.0.6 lib/ting_yun/agent/class_methods.rb