Class: Regressor::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/regressor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



19
20
21
22
23
24
25
26
# File 'lib/regressor.rb', line 19

def initialize
  @regression_path = 'spec/models/regression'
  @regression_controller_path = 'spec/controllers/regression'
  @regression_factory_path = 'spec/factories'
  @excluded_models = []
  @excluded_controllers = []
  @include_enums = true
end

Instance Attribute Details

#excluded_controllersObject

Returns the value of attribute excluded_controllers.



12
13
14
# File 'lib/regressor.rb', line 12

def excluded_controllers
  @excluded_controllers
end

#excluded_modelsObject

Returns the value of attribute excluded_models.



12
13
14
# File 'lib/regressor.rb', line 12

def excluded_models
  @excluded_models
end

#include_enumsObject

Returns the value of attribute include_enums.



12
13
14
# File 'lib/regressor.rb', line 12

def include_enums
  @include_enums
end

#regression_controller_pathObject

Returns the value of attribute regression_controller_path.



12
13
14
# File 'lib/regressor.rb', line 12

def regression_controller_path
  @regression_controller_path
end

#regression_factory_pathObject

Returns the value of attribute regression_factory_path.



12
13
14
# File 'lib/regressor.rb', line 12

def regression_factory_path
  @regression_factory_path
end

#regression_pathObject

Returns the value of attribute regression_path.



12
13
14
# File 'lib/regressor.rb', line 12

def regression_path
  @regression_path
end