General

Profile

lucascaton (Lucas Caton)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

09/25/2017

03:29 AM Ruby master Bug #13937 (Rejected): ARGV doesn't behave like an array
Ruby allows us to access an array item by passing its index, regardless if there is or not a space between the array ... lucascaton (Lucas Caton)

03/27/2016

08:02 AM Ruby master Bug #12221 (Rejected): Enumerable#sort_by method doesn't work properly when the array has more than 6 elements and you pass nil to the block
~~~
%w(1 2).sort_by { |i| nil }
# => ["1", "2"]
# ...
%w(1 2 3 4 5 6).sort_by { |i| nil }
# => ["1", "2", "3...
lucascaton (Lucas Caton)

10/15/2013

12:35 PM Ruby master Bug #9022 (Rejected): all? method in empty array should return false
This is expected:
[].any?(&:whatever?)
# => false
But this is not the behavior which I expect:
[].all?(&:wh...
lucascaton (Lucas Caton)

Also available in: Atom