class PubGrub::Incompatibility
- PubGrub::Incompatibility
- Reference
- Object
Defined in:
pubgrub/incompatibility.crConstructors
Instance Method Summary
- #and_to_s(other : Incompatibility, details : Hash(String, Package::Detail) | Nil = nil, this_line : Int32 | Nil = nil, other_line : Int32 | Nil = nil) : String
- #cause : Cause
- #failure? : Bool
- #terms : Array(Term)
-
#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.
Constructor Detail
Instance Method Detail
def and_to_s(other : Incompatibility, details : Hash(String, Package::Detail) | Nil = nil, this_line : Int32 | Nil = nil, other_line : Int32 | Nil = nil) : String
#
def to_s(details : Hash(String, Package::Detail) | Nil = nil) : String
#
Description copied from class Object
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
.