Class: Brakeman::Codeclimate::EngineConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/brakeman/codeclimate/engine_configuration.rb

Instance Method Summary collapse

Constructor Details

#initialize(engine_config = {}) ⇒ EngineConfiguration

Returns a new instance of EngineConfiguration.



7
8
9
# File 'lib/brakeman/codeclimate/engine_configuration.rb', line 7

def initialize(engine_config = {})
  @engine_config = engine_config
end

Instance Method Details

#optionsObject



11
12
13
# File 'lib/brakeman/codeclimate/engine_configuration.rb', line 11

def options
  default_options.merge(configured_options)
end