Class: RubyDetective::SourceRepresentation::DependencyResolver

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_detective/source_representation/dependency_resolver.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDependencyResolver



6
7
8
# File 'lib/ruby_detective/source_representation/dependency_resolver.rb', line 6

def initialize
  @classes = DataStore.instance.classes
end

Instance Attribute Details

#classesObject (readonly)

Returns the value of attribute classes.



4
5
6
# File 'lib/ruby_detective/source_representation/dependency_resolver.rb', line 4

def classes
  @classes
end

Class Method Details

.resolve_and_populate_storeObject



10
11
12
# File 'lib/ruby_detective/source_representation/dependency_resolver.rb', line 10

def self.resolve_and_populate_store
  new.resolve_and_populate_store
end

Instance Method Details

#resolve_and_populate_storeObject



14
15
16
17
# File 'lib/ruby_detective/source_representation/dependency_resolver.rb', line 14

def resolve_and_populate_store
  register_dependencies_and_dependents
  true
end