Class: Fitting::Configuration::Legacy
- Inherits:
-
Object
- Object
- Fitting::Configuration::Legacy
- Defined in:
- lib/fitting/configuration/legacy.rb
Instance Attribute Summary collapse
-
#apib_path ⇒ Object
Returns the value of attribute apib_path.
-
#drafter_yaml_path ⇒ Object
Returns the value of attribute drafter_yaml_path.
-
#ignore_list ⇒ Object
Returns the value of attribute ignore_list.
-
#include_actions ⇒ Object
Returns the value of attribute include_actions.
-
#include_resources ⇒ Object
Returns the value of attribute include_resources.
-
#prefix ⇒ Object
Returns the value of attribute prefix.
-
#resource_white_list ⇒ Object
Returns the value of attribute resource_white_list.
-
#strict ⇒ Object
Returns the value of attribute strict.
-
#white_list ⇒ Object
Returns the value of attribute white_list.
Instance Method Summary collapse
-
#initialize ⇒ Legacy
constructor
A new instance of Legacy.
- #not_covered_path ⇒ Object
- #stats_path ⇒ Object
- #title ⇒ Object
- #tomogram ⇒ Object
Constructor Details
#initialize ⇒ Legacy
Returns a new instance of Legacy.
16 17 18 19 20 |
# File 'lib/fitting/configuration/legacy.rb', line 16 def initialize @strict = false @prefix = '' @ignore_list = [] end |
Instance Attribute Details
#apib_path ⇒ Object
Returns the value of attribute apib_path.
6 7 8 |
# File 'lib/fitting/configuration/legacy.rb', line 6 def apib_path @apib_path end |
#drafter_yaml_path ⇒ Object
Returns the value of attribute drafter_yaml_path.
6 7 8 |
# File 'lib/fitting/configuration/legacy.rb', line 6 def drafter_yaml_path @drafter_yaml_path end |
#ignore_list ⇒ Object
Returns the value of attribute ignore_list.
6 7 8 |
# File 'lib/fitting/configuration/legacy.rb', line 6 def ignore_list @ignore_list end |
#include_actions ⇒ Object
Returns the value of attribute include_actions.
6 7 8 |
# File 'lib/fitting/configuration/legacy.rb', line 6 def include_actions @include_actions end |
#include_resources ⇒ Object
Returns the value of attribute include_resources.
6 7 8 |
# File 'lib/fitting/configuration/legacy.rb', line 6 def include_resources @include_resources end |
#prefix ⇒ Object
Returns the value of attribute prefix.
6 7 8 |
# File 'lib/fitting/configuration/legacy.rb', line 6 def prefix @prefix end |
#resource_white_list ⇒ Object
Returns the value of attribute resource_white_list.
6 7 8 |
# File 'lib/fitting/configuration/legacy.rb', line 6 def resource_white_list @resource_white_list end |
#strict ⇒ Object
Returns the value of attribute strict.
6 7 8 |
# File 'lib/fitting/configuration/legacy.rb', line 6 def strict @strict end |
#white_list ⇒ Object
Returns the value of attribute white_list.
6 7 8 |
# File 'lib/fitting/configuration/legacy.rb', line 6 def white_list @white_list end |
Instance Method Details
#not_covered_path ⇒ Object
38 39 40 |
# File 'lib/fitting/configuration/legacy.rb', line 38 def not_covered_path 'fitting/not_covered' end |
#stats_path ⇒ Object
34 35 36 |
# File 'lib/fitting/configuration/legacy.rb', line 34 def stats_path 'fitting/stats' end |
#title ⇒ Object
30 31 32 |
# File 'lib/fitting/configuration/legacy.rb', line 30 def title 'fitting' end |
#tomogram ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/fitting/configuration/legacy.rb', line 22 def tomogram @tomogram ||= Tomograph::Tomogram.new( prefix: @prefix, apib_path: @apib_path, drafter_yaml_path: @drafter_yaml_path ) end |