Class: Synvert::Core::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/synvert/core/configuration.rb

Overview

Synvert global configuration.

Class Attribute Summary collapse

Class Attribute Details

.number_of_workersInteger

Number of workers

Returns:

  • (Integer)

    default is 1



45
46
47
# File 'lib/synvert/core/configuration.rb', line 45

def number_of_workers
  @number_of_workers || 1
end

.only_pathsArray<String>

Get a list of only paths.

Returns:

  • (Array<String>)

    default is [].



31
32
33
# File 'lib/synvert/core/configuration.rb', line 31

def only_paths
  @only_paths || []
end

.root_pathString

Get the path.

Returns:

  • (String)

    default is '.'



17
18
19
# File 'lib/synvert/core/configuration.rb', line 17

def root_path
  @root_path || '.'
end

.show_run_processBoolean

Check if show run process.

Returns:

  • (Boolean)

    default is false



38
39
40
# File 'lib/synvert/core/configuration.rb', line 38

def show_run_process
  @show_run_process || false
end

.skip_pathsArray<String>

Get a list of skip paths.

Returns:

  • (Array<String>)

    default is [].



24
25
26
# File 'lib/synvert/core/configuration.rb', line 24

def skip_paths
  @skip_paths || []
end