Module: Inch::Codebase

Defined in:
lib/inch/codebase.rb,
lib/inch/codebase/proxy.rb,
lib/inch/codebase/objects.rb,
lib/inch/codebase/serializer.rb,
lib/inch/codebase/objects_filter.rb

Overview

Codebases are one of the building blocks of Inch’s analysis (the other being “code objects” inside these “codebases”).

Defined Under Namespace

Classes: Objects, ObjectsFilter, Proxy, Serializer

Class Method Summary collapse

Class Method Details

.parse(dir, config = nil) ⇒ Codebase::Proxy

Parses a codebase

Parameters:

Returns:



10
11
12
13
14
# File 'lib/inch/codebase.rb', line 10

def self.parse(dir, config = nil)
  config ||= Config.codebase.clone
  config.update_via_yaml(dir)
  Proxy.parse(dir, config)
end