class Gem::DependencyResolutionError

Raised by Gem::DependencyResolver when a Gem::DependencyConflict reaches the toplevel. Indicates which dependencies were incompatible through conflict and conflicting_dependencies

Attributes

conflict[R]

Public Class Methods

new(conflict) click to toggle source
Calls superclass method
# File lib/rubygems/exceptions.rb, line 34
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/exceptions.rb, line 41
def conflicting_dependencies
  @conflict.conflicting_dependencies
end