class Bundler::PubGrub::VersionRange::Empty

公共类方法

new() 点击切换源代码
# File bundler/vendor/pub_grub/lib/pub_grub/version_range.rb, line 15
def initialize
end

公共实例方法

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