Module: CodeKeeper

Defined in:
lib/code_keeper.rb,
lib/code_keeper/cli.rb,
lib/code_keeper/config.rb,
lib/code_keeper/finder.rb,
lib/code_keeper/parser.rb,
lib/code_keeper/result.rb,
lib/code_keeper/scorer.rb,
lib/code_keeper/metrics.rb,
lib/code_keeper/version.rb,
lib/code_keeper/formatter.rb,
lib/code_keeper/metrics/abc_metric.rb,
lib/code_keeper/metrics/class_length.rb,
lib/code_keeper/metrics/cyclomatic_complexity.rb

Defined Under Namespace

Modules: Metrics Classes: Cli, Config, Finder, Formatter, Parser, Result, Scorer, TargetFileNotFoundError

Constant Summary collapse

VERSION =
"0.6.0"

Class Method Summary collapse

Class Method Details

.configObject



23
24
25
# File 'lib/code_keeper.rb', line 23

def config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



19
20
21
# File 'lib/code_keeper.rb', line 19

def configure
  yield config
end