Module: Gem::Requirement::OrderIndependentComparison
- Included in:
- Gem::Requirement
- Defined in:
- lib/bundler/rubygems_ext.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
195 196 197 198 199 200 201 202 203 |
# File 'lib/bundler/rubygems_ext.rb', line 195 def ==(other) return unless Gem::Requirement === other if _requirements_sorted? && other._requirements_sorted? super else _with_sorted_requirements == other._with_sorted_requirements end end |