Class: SemanticPuppet::VersionRange::AllRange Private

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

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.



518
519
520
# File 'lib/semantic_puppet/version_range.rb', line 518

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.



522
523
524
# File 'lib/semantic_puppet/version_range.rb', line 522

def merge(range)
  self
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)


526
527
528
# File 'lib/semantic_puppet/version_range.rb', line 526

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.



530
531
532
# File 'lib/semantic_puppet/version_range.rb', line 530

def to_s
  '*'
end