Sha256: f46bd8790e1957c2038523b0cc45064d26602d6d94c41b195b09825aefc8a6af
Contents?: true
Size: 477 Bytes
Versions: 32
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true require_relative '../../../../../puppet/util/package/version/range' module Puppet::Util::Package::Version class Range class MinMax def initialize(min, max) @min = min @max = max end def to_s "#{@min} #{@max}" end def to_gem_version "#{@min}, #{@max}" end def include?(version) @min.include?(version) && @max.include?(version) end end end end
Version data entries
32 entries across 32 versions & 1 rubygems