Sha256: 972def37ed2b33ccd861f2bf788572f01051e88a9cada3b50c8d5eff7002ad68

Contents?: true

Size: 592 Bytes

Versions: 5

Compression:

Stored size: 592 Bytes

Contents

module Inch
  # Codebases are one of the building blocks of Inch's analysis (the other
  # being "code objects" inside these "codebases").
  module Codebase
    # Parses a codebase
    #
    # @param dir [String]
    # @param config [Inch::Config::Codebase,nil]
    # @return [Codebase::Proxy]
    def self.parse(dir, config = nil)
      config ||= Config.codebase.clone
      config.update_via_yaml(dir)
      Proxy.parse(dir, config)
    end
  end
end

require 'inch/codebase/proxy'
require 'inch/codebase/objects'
require 'inch/codebase/objects_filter'
require 'inch/codebase/serializer'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
inch-0.5.0.rc3 lib/inch/codebase.rb
inch-0.5.0.rc2 lib/inch/codebase.rb
inch-0.5.0.rc1 lib/inch/codebase.rb
inch-0.4.6 lib/inch/codebase.rb
inch-0.4.5 lib/inch/codebase.rb