Class: Devtools::Config

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

Overview

Abstract base class of tool configuration

Direct Known Subclasses

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

Defined Under Namespace

Classes: 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)


69
70
71
# File 'lib/devtools/config.rb', line 69

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