class

PubGrub::Incompatibility

Inherits Reference < Object

Constructors

new(terms : Array(Term), cause : Cause)
Source

Instance methods

and_to_s(other : Incompatibility, details : Hash(String, Package::Detail) | Nil = nil, this_line : Int32 | Nil = nil, other_line : Int32 | Nil = nil) : String
Source
cause
Source
failure?
Source
terms
Source
to_s(details : Hash(String, Package::Detail) | Nil = nil) : String

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source