LukeH7789 (Luke Hill)
- Login: LukeH7789
- Registered on: 02/05/2020
- Last sign in: 08/31/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
08/31/2026
-
11:06 AM Ruby Feature #22281: Feature: Permit `#with_index` to be used with `Integer#times` in a "simpler" format
- Changed title to include Integer class ref
-
11:04 AM Ruby Feature #22281 (Feedback): Feature: Permit `#with_index` to be used with `Integer#times` in a "simpler" format
- ## Synopsis
This is half a bug. Half a feature request (And my first), so bare with me.
When using `Array#each_with_index` or `Array#each` then chaining `#with_index`, it works as expected.
However when using `Integer#times` the...
02/05/2020
-
01:02 PM Ruby Bug #16609 (Closed): `#sample` not working with blocks properly
- This may be a bug, it may be an uncoded/partially working feature. Running `#sample` with a block doesn't complain or throw an error; The following code runs, but doesn't execute correctly.
```
a = [1, 2, 3, 4, 5, 6]
a.sample(&:even...