Module: Appsignal::System Private
- Defined in:
- lib/appsignal/system.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
System environment detection module.
Provides useful methods to find out more about the host system.
Class Method Summary collapse
- .heroku? ⇒ Boolean private
Class Method Details
.heroku? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8 9 10 |
# File 'lib/appsignal/system.rb', line 8 def self.heroku? ENV.key? "DYNO".freeze end |