Class: Synvert::Core::Configuration
- Inherits:
-
Object
- Object
- Synvert::Core::Configuration
- Defined in:
- lib/synvert/core/configuration.rb
Overview
Synvert global configuration.
Class Attribute Summary collapse
-
.number_of_workers ⇒ Integer
Number of workers.
-
.only_paths ⇒ Array<String>
Get a list of only paths.
-
.root_path ⇒ String
Get the path.
-
.show_run_process ⇒ Boolean
Check if show run process.
-
.skip_paths ⇒ Array<String>
Get a list of skip paths.
Class Attribute Details
.number_of_workers ⇒ Integer
Number of workers
45 46 47 |
# File 'lib/synvert/core/configuration.rb', line 45 def number_of_workers @number_of_workers || 1 end |
.only_paths ⇒ Array<String>
Get a list of only paths.
31 32 33 |
# File 'lib/synvert/core/configuration.rb', line 31 def only_paths @only_paths || [] end |
.root_path ⇒ String
Get the path.
17 18 19 |
# File 'lib/synvert/core/configuration.rb', line 17 def root_path @root_path || '.' end |
.show_run_process ⇒ Boolean
Check if show run process.
38 39 40 |
# File 'lib/synvert/core/configuration.rb', line 38 def show_run_process @show_run_process || false end |
.skip_paths ⇒ Array<String>
Get a list of skip paths.
24 25 26 |
# File 'lib/synvert/core/configuration.rb', line 24 def skip_paths @skip_paths || [] end |