struct Zap::Utils::Semver::Limit

Defined in:

utils/semver/limit.cr

Constant Summary

MAX = new(Version.new(UInt128::MAX), Boundary::Inclusive)
MIN = new(Version.new, Boundary::Inclusive)

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from class Object

or(other : T) : T | self forall T or, pipe(&) pipe

Constructor Detail

def self.new(version : Version, boundary : Boundary) #

[View source]

Class Method Detail

def self.exclusive(version : Version) #

[View source]
def self.inclusive(version : Version) #

[View source]

Instance Method Detail

def boundary : Boundary #

[View source]
def clone #

Returns a copy of self with all instance variables cloned.


[View source]
def max(other : self, *, side : Symbol = :left) #

[View source]
def min(other : self, *, side : Symbol = :left) #

[View source]
def to_s(io) #

[View source]
def version : Version #

[View source]

Macro Detail

macro method_missing(call) #

[View source]