Class: Librarian::Resolver::Implementation::State

Inherits:
Object
  • Object
show all
Defined in:
lib/librarian/resolver/implementation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(manifests, dependencies, queue) ⇒ 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

#dependenciesObject

Returns the value of attribute dependencies


24
25
26
# File 'lib/librarian/resolver/implementation.rb', line 24

def dependencies
  @dependencies
end

#manifestsObject

Returns the value of attribute manifests


24
25
26
# File 'lib/librarian/resolver/implementation.rb', line 24

def manifests
  @manifests
end

#queueObject

Returns the value of attribute queue


24
25
26
# File 'lib/librarian/resolver/implementation.rb', line 24

def queue
  @queue
end