Class: Bundler::Resolver::Incompatibility
- Inherits:
-
PubGrub::Incompatibility
- Object
- PubGrub::Incompatibility
- Bundler::Resolver::Incompatibility
- Defined in:
- lib/bundler/resolver/incompatibility.rb
Instance Attribute Summary collapse
-
#extended_explanation ⇒ Object
readonly
Returns the value of attribute extended_explanation.
Attributes inherited from PubGrub::Incompatibility
Instance Method Summary collapse
-
#initialize(terms, cause:, custom_explanation: nil, extended_explanation: nil) ⇒ Incompatibility
constructor
A new instance of Incompatibility.
Methods inherited from PubGrub::Incompatibility
#conflict?, #eql?, #external_incompatibilities, #failure?, #hash, #inspect, #pretty_print, #to_s
Constructor Details
#initialize(terms, cause:, custom_explanation: nil, extended_explanation: nil) ⇒ Incompatibility
Returns a new instance of Incompatibility.
8 9 10 11 12 |
# File 'lib/bundler/resolver/incompatibility.rb', line 8 def initialize(terms, cause:, custom_explanation: nil, extended_explanation: nil) @extended_explanation = extended_explanation super(terms, cause: cause, custom_explanation: custom_explanation) end |
Instance Attribute Details
#extended_explanation ⇒ Object (readonly)
Returns the value of attribute extended_explanation.
6 7 8 |
# File 'lib/bundler/resolver/incompatibility.rb', line 6 def extended_explanation @extended_explanation end |