class Gem::DependencyResolutionError

Raised when a DependencyConflict reaches the toplevel. Indicates which dependencies were incompatible.

Attributes

conflict[R]

Public Class Methods

new(conflict) click to toggle source
Calls superclass method Exception.new
# File lib/rubygems/dependency_resolver.rb, line 14
def initialize(conflict)
  @conflict = conflict
  a, b = conflicting_dependencies

  super "unable to resolve conflicting dependencies '#{a}' and '#{b}'"
end

Public Instance Methods

conflicting_dependencies() click to toggle source
# File lib/rubygems/dependency_resolver.rb, line 23
def conflicting_dependencies
  @conflict.conflicting_dependencies
end