diff options
| author | David Rodriguez <deivid.rodriguez@riseup.net> | 2024-05-06 15:33:44 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-05-14 16:08:01 +0000 |
| commit | 91e387197010586b0fc815f2a83c77832a0f0aa3 (patch) | |
| tree | 4bb95592ed136e65fe1ce4dad718a7a2c819e7a2 | |
| parent | 64542380728b2f0cb0a76a09d08735538350cd9f (diff) | |
[rubygems/rubygems] Simplify documentation
I don't think this method is any worse than others, let's only document
what it does.
https://github.com/rubygems/rubygems/commit/dec722187f
| -rw-r--r-- | lib/rubygems/specification.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index 5fedc8bc79..ca418cd394 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -923,16 +923,7 @@ class Gem::Specification < Gem::BasicSpecification 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) |
