diff options
author | Takashi Kokubun <[email protected]> | 2024-11-12 20:47:48 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2024-11-13 12:27:26 -0800 |
commit | 01db456196e17eb067f70eb1d4fceba143a51c01 (patch) | |
tree | 93676cc4ad94e59998f8b273cd18bfecc08b517f /numeric.rb | |
parent | c9a5a71695af4596346e70f29dddb9ddb6106177 (diff) |
Move Array#map to Ruby
Co-Authored-By: Aaron Patterson <[email protected]>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12074
Diffstat (limited to 'numeric.rb')
-rw-r--r-- | numeric.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numeric.rb b/numeric.rb index 9b134a35ae..571f9b6314 100644 --- a/numeric.rb +++ b/numeric.rb @@ -338,6 +338,7 @@ class Integer yield from from = from.pred end + self end end end |