Class: ScoutApm::ServerIntegrations::Null
- Inherits:
-
Object
- Object
- ScoutApm::ServerIntegrations::Null
- Defined in:
- lib/scout_apm/server_integrations/null.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
Instance Method Summary collapse
- #forking? ⇒ Boolean
- #found? ⇒ Boolean
-
#initialize(logger) ⇒ Null
constructor
A new instance of Null.
- #install ⇒ Object
- #name ⇒ Object
- #present? ⇒ Boolean
Constructor Details
#initialize(logger) ⇒ Null
Returns a new instance of Null.
9 10 11 |
# File 'lib/scout_apm/server_integrations/null.rb', line 9 def initialize(logger) @logger = logger end |
Instance Attribute Details
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
7 8 9 |
# File 'lib/scout_apm/server_integrations/null.rb', line 7 def logger @logger end |
Instance Method Details
#forking? ⇒ Boolean
25 26 27 |
# File 'lib/scout_apm/server_integrations/null.rb', line 25 def forking? false end |
#found? ⇒ Boolean
29 30 31 |
# File 'lib/scout_apm/server_integrations/null.rb', line 29 def found? false end |
#install ⇒ Object
21 22 23 |
# File 'lib/scout_apm/server_integrations/null.rb', line 21 def install # Nothing to do. end |
#name ⇒ Object
13 14 15 |
# File 'lib/scout_apm/server_integrations/null.rb', line 13 def name :null end |
#present? ⇒ Boolean
17 18 19 |
# File 'lib/scout_apm/server_integrations/null.rb', line 17 def present? true end |