Class: SemanticPuppet::VersionRange::GtRange Private
- Inherits:
-
ComparatorRange
- Object
- AbstractRange
- ComparatorRange
- SemanticPuppet::VersionRange::GtRange
- Defined in:
- lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.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 Attribute Summary
Attributes inherited from ComparatorRange
Instance Method Summary collapse
- #begin ⇒ Object private
- #exclude_begin? ⇒ Boolean private
- #include?(version) ⇒ Boolean private
- #lower_bound? ⇒ Boolean private
- #to_s ⇒ Object private
Methods inherited from ComparatorRange
#eql?, #hash, #initialize, #stable?, #test_prerelease?
Methods inherited from AbstractRange
#==, #end, #eql?, #exclude_end?, #intersection, #merge, #stable?, #test_prerelease?, #upper_bound?
Constructor Details
This class inherits a constructor from SemanticPuppet::VersionRange::ComparatorRange
Instance Method Details
#begin ⇒ Object
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.
651 652 653 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 651 def begin @version end |
#exclude_begin? ⇒ 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.
647 648 649 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 647 def exclude_begin? true end |
#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.
643 644 645 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 643 def include?(version) version > @version end |
#lower_bound? ⇒ 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.
655 656 657 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 655 def lower_bound? true end |
#to_s ⇒ Object
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.
659 660 661 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 659 def to_s ">#{@version}" end |