# File bundler/rubygems_ext.rb, line 140def==(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 150def_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 156def_with_sorted_requirements@_with_sorted_requirements||=_requirements_sorted??self:self.class.new(as_list.sort)
end
This page was generated for Ruby 3.0.4
Generated with Ruby-doc Rdoc Generator 0.42.0.
There is an updated format of the API docs for this version here.