Class: Klee::Codebase

Inherits:
Object
  • Object
show all
Defined in:
lib/klee/codebase.rb

Instance Method Summary collapse

Constructor Details

#initialize(*patterns, ignore: [], threshold: 2) ⇒ Codebase

Returns a new instance of Codebase.



5
6
7
8
9
# File 'lib/klee/codebase.rb', line 5

def initialize(*patterns, ignore: [], threshold: 2)
  @patterns = patterns
  @ignore = ignore
  @threshold = threshold
end

Instance Method Details

#collaboratorsObject



15
16
17
# File 'lib/klee/codebase.rb', line 15

def collaborators
  @collaborators ||= build_collaborator_index
end

#conceptsObject



11
12
13
# File 'lib/klee/codebase.rb', line 11

def concepts
  @concepts ||= build_concept_index
end