diff options
| author | Kenji Okimoto <[email protected]> | 2017-03-30 10:53:55 +0900 |
|---|---|---|
| committer | Kenji Okimoto <[email protected]> | 2017-03-30 10:53:55 +0900 |
| commit | d93a5c1a8417949769714be40aaf62121059da96 (patch) | |
| tree | 35ddd2f3f8076891546bd20fc502f82b985e824e /src/mruby_core.rake | |
| parent | 905f46a129de65098b3130789bb9c412201f4cb4 (diff) | |
| download | mruby-d93a5c1a8417949769714be40aaf62121059da96.tar.gz mruby-d93a5c1a8417949769714be40aaf62121059da96.zip | |
Fix Enumerator#each_with_index with block
In previous version,
```
a = [3, 2, 1]
e = a.each
e.sort_by(&:to_i) # => []
```
In this version,
```
a = [3, 2, 1]
e = a.each
e.sort_by(&:to_i) # => [1, 2, 3]
```
Diffstat (limited to 'src/mruby_core.rake')
0 files changed, 0 insertions, 0 deletions
