Class: Fitting::Configuration::Legacy

Inherits:
Object
  • Object
show all
Defined in:
lib/fitting/configuration/legacy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLegacy

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_pathObject

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_pathObject

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_listObject

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_actionsObject

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_resourcesObject

Returns the value of attribute include_resources.



6
7
8
# File 'lib/fitting/configuration/legacy.rb', line 6

def include_resources
  @include_resources
end

#prefixObject

Returns the value of attribute prefix.



6
7
8
# File 'lib/fitting/configuration/legacy.rb', line 6

def prefix
  @prefix
end

#resource_white_listObject

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

#strictObject

Returns the value of attribute strict.



6
7
8
# File 'lib/fitting/configuration/legacy.rb', line 6

def strict
  @strict
end

#white_listObject

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_pathObject



38
39
40
# File 'lib/fitting/configuration/legacy.rb', line 38

def not_covered_path
  'fitting/not_covered'
end

#stats_pathObject



34
35
36
# File 'lib/fitting/configuration/legacy.rb', line 34

def stats_path
  'fitting/stats'
end

#titleObject



30
31
32
# File 'lib/fitting/configuration/legacy.rb', line 30

def title
  'fitting'
end

#tomogramObject



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