Class: Librarian::Resolver::Implementation::State
- Inherits:
-
Object
- Object
- Librarian::Resolver::Implementation::State
- Defined in:
- lib/librarian/resolver/implementation.rb
Instance Attribute Summary collapse
-
#dependencies ⇒ Object
readonly
Returns the value of attribute dependencies.
-
#manifests ⇒ Object
readonly
Returns the value of attribute manifests.
-
#queue ⇒ Object
readonly
Returns the value of attribute queue.
Instance Method Summary collapse
-
#initialize(manifests, dependencies, queue) ⇒ State
constructor
A new instance of State.
Constructor Details
#initialize(manifests, dependencies, queue) ⇒ State
Returns a new instance of State.
26 27 28 29 30 |
# File 'lib/librarian/resolver/implementation.rb', line 26 def initialize(manifests, dependencies, queue) self.manifests = manifests self.dependencies = dependencies # resolved self.queue = queue # scheduled end |
Instance Attribute Details
#dependencies ⇒ Object
Returns the value of attribute dependencies.
24 25 26 |
# File 'lib/librarian/resolver/implementation.rb', line 24 def dependencies @dependencies end |
#manifests ⇒ Object
Returns the value of attribute manifests.
24 25 26 |
# File 'lib/librarian/resolver/implementation.rb', line 24 def manifests @manifests end |
#queue ⇒ Object
Returns the value of attribute queue.
24 25 26 |
# File 'lib/librarian/resolver/implementation.rb', line 24 def queue @queue end |