Method: Bundler::PubGrub::VersionConstraint#allows_any?

Defined in:
lib/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb

#allows_any?(other) ⇒ Boolean

Returns:

  • (Boolean)
[View source]

72
73
74
# File 'lib/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb', line 72

def allows_any?(other)
  range.intersects?(other.range)
end