Class: SemanticPuppet::VersionRange::GtEqRange Private
- Inherits:
-
ComparatorRange
- Object
- AbstractRange
- ComparatorRange
- SemanticPuppet::VersionRange::GtEqRange
- Defined in:
- 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
- #include?(version) ⇒ Boolean private
- #lower_bound? ⇒ Boolean private
- #to_s ⇒ Object private
Methods inherited from ComparatorRange
#eql?, #hash, #initialize, #test_prerelease?
Methods inherited from AbstractRange
#==, #end, #eql?, #exclude_begin?, #exclude_end?, #intersection, #merge, #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.
645 646 647 |
# File 'lib/semantic_puppet/version_range.rb', line 645 def begin @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.
641 642 643 |
# File 'lib/semantic_puppet/version_range.rb', line 641 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.
649 650 651 |
# File 'lib/semantic_puppet/version_range.rb', line 649 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.
653 654 655 |
# File 'lib/semantic_puppet/version_range.rb', line 653 def to_s ">=#{@version}" end |