Class: ScoutApm::Config::ConfigNull
- Inherits:
-
Object
- Object
- ScoutApm::Config::ConfigNull
- Defined in:
- lib/scout_apm/config.rb
Overview
Good News: It has every config value you could want Bad News: The content of that config value is always nil Used for the null-object pattern
Instance Method Summary collapse
Instance Method Details
#any_keys_found? ⇒ Boolean
295 296 297 |
# File 'lib/scout_apm/config.rb', line 295 def any_keys_found? false end |
#has_key? ⇒ Boolean
291 292 293 |
# File 'lib/scout_apm/config.rb', line 291 def has_key?(*) true end |
#name ⇒ Object
299 300 301 |
# File 'lib/scout_apm/config.rb', line 299 def name "no-config" end |
#value ⇒ Object
287 288 289 |
# File 'lib/scout_apm/config.rb', line 287 def value(*) nil end |