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
321 322 323 |
# File 'lib/scout_apm/config.rb', line 321 def any_keys_found? false end |
#has_key? ⇒ Boolean
317 318 319 |
# File 'lib/scout_apm/config.rb', line 317 def has_key?(*) true end |
#name ⇒ Object
325 326 327 |
# File 'lib/scout_apm/config.rb', line 325 def name "no-config" end |
#value ⇒ Object
313 314 315 |
# File 'lib/scout_apm/config.rb', line 313 def value(*) nil end |