Class: ScoutApm::Config::ConfigNull

Inherits:
Object
  • Object
show all
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

#has_key?Boolean

Returns:

  • (Boolean)


183
184
185
# File 'lib/scout_apm/config.rb', line 183

def has_key?(*)
  true
end

#valueObject



179
180
181
# File 'lib/scout_apm/config.rb', line 179

def value(*)
  nil
end