Method: Bundler::PubGrub::VersionRange#eql?
- Defined in:
- lib/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb
#eql?(other) ⇒ Boolean
90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb', line 90 def eql?(other) if other.is_a?(VersionRange) !other.empty? && min.eql?(other.min) && max.eql?(other.max) && include_min.eql?(other.include_min) && include_max.eql?(other.include_max) else ranges.eql?(other.ranges) end end |