Sha256: b2963283c4f67407ba8f52853b0fc4d16e2bff687e1d510b0be92d4e5e9e8e95

Contents?: true

Size: 235 Bytes

Versions: 17

Compression:

Stored size: 235 Bytes

Contents

module Appsignal
  # System environment detection module.
  #
  # Provides useful methods to find out more about the host system.
  #
  # @api private
  module System
    def self.heroku?
      ENV.key? "DYNO".freeze
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
appsignal-2.4.0 lib/appsignal/system.rb
appsignal-2.4.0.alpha.1 lib/appsignal/system.rb
appsignal-2.3.7 lib/appsignal/system.rb
appsignal-2.3.6 lib/appsignal/system.rb
appsignal-2.3.6.beta.1 lib/appsignal/system.rb
appsignal-2.3.4 lib/appsignal/system.rb
appsignal-2.3.3 lib/appsignal/system.rb
appsignal-2.3.3.beta.1 lib/appsignal/system.rb
appsignal-2.3.2 lib/appsignal/system.rb
appsignal-2.3.1 lib/appsignal/system.rb
appsignal-2.3.0 lib/appsignal/system.rb
appsignal-2.3.0.beta.3 lib/appsignal/system.rb
appsignal-2.3.0.beta.2 lib/appsignal/system.rb
appsignal-2.3.0.beta.1 lib/appsignal/system.rb
appsignal-2.2.1 lib/appsignal/system.rb
appsignal-2.2.0 lib/appsignal/system.rb
appsignal-2.2.0.beta.1 lib/appsignal/system.rb