diff options
author | Mau Magnaguagno <maumagnaguagno@gmail.com> | 2023-11-30 00:36:59 -0300 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-12-05 14:28:39 +0900 |
commit | 57178a9720ebe5c86e2fbd7d41d9f58f049133c3 (patch) | |
tree | 47d7978abb497b1ffcba4814cc06dbf00074fdcf /lib/did_you_mean/formatter.rb | |
parent | 5f789350dceef80494e4e3e3e1ce95f886657845 (diff) | |
download | ruby-57178a9720ebe5c86e2fbd7d41d9f58f049133c3.tar.gz |
[rubygems/rubygems] Prefer String#split with block in Gem::YAMLSerializer#load
String#split supports a block since Ruby 2.6, avoiding intermediate array.
https://github.com/rubygems/rubygems/commit/69cdf9e9d4
Diffstat (limited to 'lib/did_you_mean/formatter.rb')
0 files changed, 0 insertions, 0 deletions