Raised by Gem::Resolver when a Gem::Dependency::Conflict reaches the toplevel. Indicates which dependencies were incompatible through conflict and conflicting_dependencies
Attributes
Read
No documentation available
Class Methods
3.0
View on GitHub
# File tmp/rubies/ruby-3.0.5/lib/rubygems/exceptions.rb, line 24
def initialize(conflict)
@conflict = conflict
a, b = conflicting_dependencies
super "conflicting dependencies #{a} and #{b}\n#{@conflict.explanation}"
end
No documentation available
Instance Methods
3.0
View on GitHub
# File tmp/rubies/ruby-3.0.5/lib/rubygems/exceptions.rb, line 31
def conflicting_dependencies
@conflict.conflicting_dependencies
end
No documentation available