Exception: SemanticPuppet::Dependency::UnsatisfiableGraph
- Inherits:
-
StandardError
- Object
- StandardError
- SemanticPuppet::Dependency::UnsatisfiableGraph
- Defined in:
- lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/unsatisfiable_graph.rb
Instance Attribute Summary collapse
-
#graph ⇒ Object
readonly
Returns the value of attribute graph.
Instance Method Summary collapse
-
#initialize(graph) ⇒ UnsatisfiableGraph
constructor
A new instance of UnsatisfiableGraph.
Constructor Details
#initialize(graph) ⇒ UnsatisfiableGraph
Returns a new instance of UnsatisfiableGraph.
8 9 10 11 12 13 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/unsatisfiable_graph.rb', line 8 def initialize(graph) @graph = graph deps = sentence_from_list(graph.modules) super "Could not find satisfying releases for #{deps}" end |
Instance Attribute Details
#graph ⇒ Object (readonly)
Returns the value of attribute graph.
6 7 8 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/unsatisfiable_graph.rb', line 6 def graph @graph end |