Class: RubyDetective::SourceRepresentation::DependencyResolver
- Inherits:
-
Object
- Object
- RubyDetective::SourceRepresentation::DependencyResolver
- Defined in:
- lib/ruby_detective/source_representation/dependency_resolver.rb
Instance Attribute Summary collapse
-
#classes ⇒ Object
readonly
Returns the value of attribute classes.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ DependencyResolver
constructor
A new instance of DependencyResolver.
- #resolve_and_populate_store ⇒ Object
Constructor Details
#initialize ⇒ DependencyResolver
6 7 8 |
# File 'lib/ruby_detective/source_representation/dependency_resolver.rb', line 6 def initialize @classes = DataStore.instance.classes end |
Instance Attribute Details
#classes ⇒ Object (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_store ⇒ Object
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_store ⇒ Object
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 |