Name | Status | Type | Time(s) |
Enumerable#grep grep without a block should return an array of all elements === pattern | Success | | 0.006 |
Enumerable#grep grep with a block should return an array of elements === pattern passed through block | Success | | 0.004 |
Enumerable#grep grep the enumerable (rubycon legacy) | Success | | 0.004 |
Enumerable#grep can use $~ in the block when used with a Regexp | Success | | 0.001 |
Enumerable#grep with a block returns an Array of matched elements that mapped by the block | Success | | 0.001 |
Enumerable#grep with a block calls the block with gathered array when yielded with multiple arguments | Success | | 0.001 |
Enumerable#grep with a block raises an ArgumentError when not given a pattern | Success | | 0.001 |