Class: Puppet::Util::Package::Version::Range::Simple Private

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/util/package/version/range/simple.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Direct Known Subclasses

Eq, Gt, GtEq, Lt, LtEq

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ Simple

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Simple.


6
7
8
# File 'lib/puppet/util/package/version/range/simple.rb', line 6

def initialize(version)
  @version = version
end