diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-05-02 12:22:42 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-08 14:13:29 +0900 |
| commit | de57d3895ef6eb681c12a27720e7c185a22023d7 (patch) | |
| tree | a110505911bfbf01ee2aac542471cdc9b77d9bef /spec/ruby/core/array/array_spec.rb | |
| parent | c58d69e6982b2261f0533e846de4c54d04a1f293 (diff) | |
[rubygems/rubygems] Shortcuit method earlier
If the class variable is set, we can skip the whole thing from the
beginning.
Co-authored-by: MSP-Greg <MSP-Greg@users.noreply.github.com>
https://github.com/rubygems/rubygems/commit/83abf3a3d4
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3092
Diffstat (limited to 'spec/ruby/core/array/array_spec.rb')
0 files changed, 0 insertions, 0 deletions
