class PubGrub::Incompatibility

Defined in:

pubgrub/incompatibility.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(terms : Array(Term), cause : Cause) #

[View source]

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 #

[View source]
def cause : Cause #

[View source]
def failure? : Bool #

[View source]
def terms : Array(Term) #

[View source]
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.


[View source]