# File bundler/rubygems_ext.rb, line 136def==(other)
if_requirements_sorted?&&other._requirements_sorted?superelse_with_sorted_requirements==other._with_sorted_requirementsendend
Protected Instance Methods
_requirements_sorted?()click to toggle source
# File bundler/rubygems_ext.rb, line 146def_requirements_sorted?return@_are_requirements_sortedifdefined?(@_are_requirements_sorted)
strings = as_list@_are_requirements_sorted = strings==strings.sortend
_with_sorted_requirements()click to toggle source
# File bundler/rubygems_ext.rb, line 152def_with_sorted_requirements@_with_sorted_requirements||=_requirements_sorted??self:self.class.new(as_list.sort)
end