Class: SemanticPuppet::VersionRange::GtRange Private

Inherits:
ComparatorRange show all
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

#version

Instance Method Summary collapse

Methods inherited from ComparatorRange

#eql?, #hash, #initialize, #test_prerelease?

Methods inherited from AbstractRange

#==, #end, #eql?, #exclude_end?, #intersection, #merge, #test_prerelease?, #upper_bound?

Constructor Details

This class inherits a constructor from SemanticPuppet::VersionRange::ComparatorRange

Instance Method Details

#beginObject

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.



626
627
628
# File 'lib/semantic_puppet/version_range.rb', line 626

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.

Returns:

  • (Boolean)


622
623
624
# File 'lib/semantic_puppet/version_range.rb', line 622

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.

Returns:

  • (Boolean)


618
619
620
# File 'lib/semantic_puppet/version_range.rb', line 618

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.

Returns:

  • (Boolean)


630
631
632
# File 'lib/semantic_puppet/version_range.rb', line 630

def lower_bound?
  true
end

#to_sObject

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.



634
635
636
# File 'lib/semantic_puppet/version_range.rb', line 634

def to_s
  ">#{@version}"
end