Class: SemanticPuppet::VersionRange::EqRange Private
- Inherits:
-
ComparatorRange
- Object
- AbstractRange
- ComparatorRange
- SemanticPuppet::VersionRange::EqRange
- 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
- #end ⇒ Object private
- #include?(version) ⇒ Boolean private
- #lower_bound? ⇒ Boolean private
- #to_s ⇒ Object private
- #upper_bound? ⇒ Boolean private
Methods inherited from ComparatorRange
#eql?, #hash, #initialize, #stable?, #test_prerelease?
Methods inherited from AbstractRange
#==, #eql?, #exclude_begin?, #exclude_end?, #intersection, #merge, #stable?, #test_prerelease?
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.
733 734 735 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 733 def begin @version end |
#end ⇒ 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.
745 746 747 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 745 def end @version 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.
729 730 731 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 729 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.
737 738 739 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 737 def lower_bound? @version != Version::MIN 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.
749 750 751 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 749 def to_s @version.to_s end |
#upper_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.
741 742 743 |
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 741 def upper_bound? @version != Version::MAX end |