struct Zap::Utils::Semver::Range
- Zap::Utils::Semver::Range
- Struct
- Value
- Object
Overview
A range is composed of one or more comparator sets, joined by ||. A version matches a range if and only if every comparator in at least one of the ||-separated comparator sets is satisfied by the version.
Defined in:
utils/semver/range.crConstructors
Class Method Summary
Instance Method Summary
- #==(other : self)
- #canonical : String
-
#clone
Returns a copy of
self
with all instance variables cloned. - #comparator_sets : Array(Zap::Utils::Semver::ComparatorSet)
- #exact_match?
-
#hash(hasher)
See
Object#hash(hasher)
- #initialize
- #intersection?(other : self) : self | Nil
- #satisfies?(version_str : String)
- #to_s(io)