Class: Puppet::Util::Package::Version::Range::LtEq
- Defined in:
- lib/puppet/util/package/version/range/lt_eq.rb
Instance Method Summary collapse
Methods inherited from Simple
Constructor Details
This class inherits a constructor from Puppet::Util::Package::Version::Range::Simple
Instance Method Details
#include?(version) ⇒ Boolean
12 13 14 |
# File 'lib/puppet/util/package/version/range/lt_eq.rb', line 12 def include?(version) version <= @version end |
#to_s ⇒ Object
8 9 10 |
# File 'lib/puppet/util/package/version/range/lt_eq.rb', line 8 def to_s "<=#{@version}" end |