alvitovitch@gmail.com (Andrew Vitovitch)
- Login: alvitovitch@gmail.com
- Registered on: 11/26/2024
- Last sign in: 11/26/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/26/2024
-
06:09 PM Ruby Bug #20911 (Rejected): Array#max doesn't take block if using &:
- ```
["1","2","3"].max { |i| i.to_i }
=> "3"
["1","2","3"].max(&:to_i)
(irb):6:in `to_i': no implicit conversion of String into Integer (TypeError)
["1","2","3"].max(&:to_i)
^^^^^^
from (irb):6:in `max'...