Class: Regressor::Configuration
- Inherits:
-
Object
- Object
- Regressor::Configuration
- Defined in:
- lib/regressor.rb
Instance Attribute Summary collapse
-
#excluded_controllers ⇒ Object
Returns the value of attribute excluded_controllers.
-
#excluded_models ⇒ Object
Returns the value of attribute excluded_models.
-
#include_enums ⇒ Object
Returns the value of attribute include_enums.
-
#regression_controller_path ⇒ Object
Returns the value of attribute regression_controller_path.
-
#regression_factory_path ⇒ Object
Returns the value of attribute regression_factory_path.
-
#regression_path ⇒ Object
Returns the value of attribute regression_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_controllers ⇒ Object
Returns the value of attribute excluded_controllers.
12 13 14 |
# File 'lib/regressor.rb', line 12 def excluded_controllers @excluded_controllers end |
#excluded_models ⇒ Object
Returns the value of attribute excluded_models.
12 13 14 |
# File 'lib/regressor.rb', line 12 def excluded_models @excluded_models end |
#include_enums ⇒ Object
Returns the value of attribute include_enums.
12 13 14 |
# File 'lib/regressor.rb', line 12 def include_enums @include_enums end |
#regression_controller_path ⇒ Object
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_path ⇒ Object
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_path ⇒ Object
Returns the value of attribute regression_path.
12 13 14 |
# File 'lib/regressor.rb', line 12 def regression_path @regression_path end |