Yukihiro "Matz" Matsumoto
|
b4f9b031de
|
Some cosmetic changes
|
2017-11-22 16:09:50 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6c966a1f86
|
Change the order of "expected" and "actual" in test
|
2017-10-28 00:29:30 +09:00 |
|
Kenji Okimoto
|
d93a5c1a84
|
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]
```
|
2017-03-30 10:53:55 +09:00 |
|
ksss
|
2718fed124
|
Support svalue
|
2016-12-01 16:13:24 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
7278fd1f1b
|
loop may return StopIteration#result; [ruby-bugs#11498]
|
2015-10-21 21:47:25 +09:00 |
|
Nobuyoshi Nakada
|
ab67c57f65
|
remove trailing spaces
|
2014-04-30 09:50:14 +09:00 |
|
Jun Hiroe
|
1368ae647b
|
Add args in Enumerator#inspect
|
2014-04-06 02:45:04 +09:00 |
|
ksss
|
d9068f0583
|
Hash#{reject,reject!} fix yield value
|
2014-03-23 20:13:49 +09:00 |
|
ksss
|
d09e4475bf
|
Hash#{select,select!} fix yield value
|
2014-03-23 13:31:26 +09:00 |
|
ksss
|
5386cd9b9b
|
Hash#each_{key,value} support return Enumerator
if non block given
|
2014-03-23 00:22:22 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2bf718faf8
|
Merge pull request #1882 from ksss/enum-find_all
Enumerable#find_all return Enumerator if non block given
|
2014-03-19 10:43:54 +09:00 |
|
ksss
|
fd80d4ecdd
|
Enumerable#find_all return Enumerator if non block given
|
2014-03-17 23:32:31 +09:00 |
|
ksss
|
9abe413530
|
Enumrable#each_with_index return Enumerator if non block given
|
2014-03-17 22:31:40 +09:00 |
|
ksss
|
447764763c
|
add test for Array#each_index if non block given
|
2014-03-15 08:21:39 +09:00 |
|
ksss
|
0bb7f5e950
|
fix variable name typo
|
2014-03-15 08:21:39 +09:00 |
|
ksss
|
9447c637a5
|
test split and to detail
|
2014-03-15 08:21:34 +09:00 |
|
ksss
|
6b3cc0052d
|
fix self modifying bug
|
2014-03-15 08:15:16 +09:00 |
|
ksss
|
47fc784b56
|
fix return value for with_index
|
2014-03-15 08:15:16 +09:00 |
|
ksss
|
463c5f83c3
|
add mruby-enumerator
|
2014-03-13 23:47:12 +09:00 |
|