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

Inherits:
Simple show all
Defined in:
lib/puppet/util/package/version/range/lt.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.

Instance Method Summary collapse

Methods inherited from Simple

#initialize

Constructor Details

This class inherits a constructor from Puppet::Util::Package::Version::Range::Simple

Instance Method Details

#include?(version) ⇒ Boolean

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:

  • (Boolean)

9
10
11
# File 'lib/puppet/util/package/version/range/lt.rb', line 9

def include?(version)
  version < @version
end

#to_sObject

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.


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

def to_s
  "<#{@version}"
end