method
cover?
ruby latest stable - Class:
Bundler::VersionRanges::ReqR
cover?(v)public
No documentation available.
# File lib/bundler/version_ranges.rb, line 15
def cover?(v)
return false if left.inclusive && left.version > v
return false if !left.inclusive && left.version >= v
if right.version != INFINITY
return false if right.inclusive && right.version < v
return false if !right.inclusive && right.version <= v
end
true
end