Class: Bundler::Resolver::Incompatibility

Inherits:
PubGrub::Incompatibility show all
Defined in:
lib/bundler/resolver/incompatibility.rb

Instance Attribute Summary collapse

Attributes inherited from PubGrub::Incompatibility

#cause, #terms

Instance Method Summary collapse

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_explanationObject (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