Sha256: e0cccb790ae1a3d963ce508692cf89361f78d1f7828deefa501053a4ab14bb5b

Contents?: true

Size: 361 Bytes

Versions: 8

Compression:

Stored size: 361 Bytes

Contents

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


module TingYun
  module Configuration

    def self.get_name
      app_name = TingYun::Agent.config[:app_name]
      case app_name
        when Array then
          app_name
        when String then
          app_name.split(';')
        else
          []
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tingyun_rpm-3.2.0 lib/ting_yun/configuration.rb
tingyun_rpm-1.6.1 lib/ting_yun/configuration.rb
tingyun_rpm-1.5.0 lib/ting_yun/configuration.rb
tingyun_rpm-1.4.2 lib/ting_yun/configuration.rb
tingyun_rpm-1.4.1 lib/ting_yun/configuration.rb
tingyun_rpm-1.3.1 lib/ting_yun/configuration.rb
tingyun_rpm-1.3.0 lib/ting_yun/configuration.rb
tingyun_rpm-1.2.0 lib/ting_yun/configuration.rb