mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Move Array#map to Ruby
Co-Authored-By: Aaron Patterson <tenderlove@ruby-lang.org>
This commit is contained in:
parent
c9a5a71695
commit
01db456196
Notes:
git
2024-11-13 20:27:44 +00:00
6 changed files with 43 additions and 12 deletions
|
@ -338,6 +338,7 @@ class Integer
|
|||
yield from
|
||||
from = from.pred
|
||||
end
|
||||
self
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue