class Version::Requirement

Defined in:

version/requirement.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(version : SemanticVersion, operator : Version::Operator) #

[View source]
def self.new #

[View source]
def self.parse(str : String) : self #

[View source]

Instance Method Detail

def matches?(semver : SemanticVersion) #

[View source]
def matches?(str : String) #

[View source]
def operator : Operator #

[View source]
def operator=(operator : Operator) #

[View source]
def version : SemanticVersion #

[View source]
def version=(version : SemanticVersion) #

[View source]