lib/bundler/resolver/incompatibility.rb
raw| 1 | # frozen_string_literal: true |
| 2 | |
| 3 | module Bundler |
| 4 | class Resolver |
| 5 | class Incompatibility < PubGrub::Incompatibility |
| 6 | attr_reader :extended_explanation |
| 7 | |
| 8 | def initialize(terms, cause:, custom_explanation: nil, extended_explanation: nil) |
| 9 | @extended_explanation = extended_explanation |
| 10 | |
| 11 | super(terms, cause: cause, custom_explanation: custom_explanation) |
| 12 | end |
| 13 | end |
| 14 | end |
| 15 | end |