class PubGrub::Constraint

Defined in:

pubgrub/constraint.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(package : PubGrub::Package, constraint : PubGrub::VersionConstraint) #

[View source]

Instance Method Detail

def allows_all?(constraint : Constraint) : Bool #

[View source]
def allows_any?(constraint : Constraint) : Bool #

[View source]
def any? : Bool #

[View source]
def constraint : VersionConstraint #

[View source]
def difference(other : VersionConstraint) : Constraint #

[View source]
def package : Package #

[View source]