Module: Gem::Requirement::OrderIndependentComparison

Included in:
Gem::Requirement
Defined in:
lib/bundler/rubygems_ext.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object


136
137
138
139
140
141
142
# File 'lib/bundler/rubygems_ext.rb', line 136

def ==(other)
  if _requirements_sorted? && other._requirements_sorted?
    super
  else
    _with_sorted_requirements == other._with_sorted_requirements
  end
end