Skip to content

Commit

Permalink
[rubygems/rubygems] Simplify documentation
Browse files Browse the repository at this point in the history
I don't think this method is any worse than others, let's only document
what it does.

rubygems/rubygems@dec722187f
  • Loading branch information
deivid-rodriguez authored and matzbot committed May 14, 2024
1 parent 6454238 commit 91e3871
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions lib/rubygems/specification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -923,16 +923,7 @@ def self.all
end

##
# Sets the known specs to +specs+. Not guaranteed to work for you in
# the future. Use at your own risk. Caveat emptor. Doomy doom doom.
# Etc etc.
#
#--
# Makes +specs+ the known specs
# Listen, time is a river
# Winter comes, code breaks
#
# -- wilsonb
# Sets the known specs to +specs+.

def self.all=(specs)
@@stubs_by_name = specs.group_by(&:name)
Expand Down

0 comments on commit 91e3871

Please sign in to comment.