class Bundler::PubGrub::VersionRange::Empty

Public Class Methods

new() click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 15
def initialize
end

Public Instance Methods

==(other) click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 54
def ==(other)
  other.class == self.class
end
allows_all?(other) click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 38
def allows_all?(other)
  other.empty?
end
any?() click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 46
def any?
  false
end
empty?() click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 18
def empty?
  true
end
eql?() click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 22
def eql?
  other.empty?
end
hash() click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 26
def hash
  [].hash
end
include?(_) click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 42
def include?(_)
  false
end
intersect(other) click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 34
def intersect(other)
  self
end
intersects?(_) click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 30
def intersects?(_)
  false
end
invert() click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 58
def invert
  VersionRange.any
end
select_versions(_) click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 62
def select_versions(_)
  []
end
to_s() click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 50
def to_s
  "(no versions)"
end