Class: Central::Devtools::Config

Inherits:
Object
  • Object
show all
Includes:
AbstractType, Adamantium::Flat
Defined in:
lib/central/devtools/config.rb

Overview

Abstract base class of tool configuration

Direct Known Subclasses

Container, Devtools, Flay, Flog, Mutant, Reek, Rubocop, Yardstick

Defined Under Namespace

Classes: Container, Devtools, Flay, Flog, Mutant, Reek, Rubocop, TypeCheck, Yardstick

Constant Summary collapse

DEFAULT_CONFIG =

Represent no configuration

{}.freeze
TypeError =

Error raised on type errors

Class.new(RuntimeError)

Instance Method Summary collapse

Instance Method Details

#config_fileString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return config path

Returns:

  • (String)


65
66
67
# File 'lib/central/devtools/config.rb', line 65

def config_file
  config_dir.join(self.class::FILE)
end