Class: Puppet::Util::Package::Version::Range::Gt

Inherits:
Simple show all
Defined in:
lib/puppet/util/package/version/range/gt.rb

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

Returns:

  • (Boolean)

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

def include?(version)
  version > @version
end

#to_sObject


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

def to_s
  ">#{@version}"
end