Class: SemanticPuppet::VersionRange::AllRange Private

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

Constant Summary collapse

SINGLETON =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

AllRange.new

Instance Method Summary collapse

Methods inherited from AbstractRange

#==, #begin, #end, #eql?, #exclude_begin?, #exclude_end?, #include?, #lower_bound?, #upper_bound?

Instance Method Details

#intersection(range) ⇒ 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.



531
532
533
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 531

def intersection(range)
  range
end

#merge(range) ⇒ 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.



535
536
537
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 535

def merge(range)
  self
end

#stable?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)


543
544
545
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 543

def stable?
  true
end

#test_prerelease?(_) ⇒ 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)


539
540
541
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 539

def test_prerelease?(_)
  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.



547
548
549
# File 'lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb', line 547

def to_s
  '*'
end