A
Andre Nathan
Hello
I found this to be somewhat amusing:
Is there any reasoning for Enumerable#all? to always return true for
empty arrays?
Best regards,
Andre
I found this to be somewhat amusing:
=> truea = [] => []
a.all? => true
a.all? { |i| i == 10 }
Is there any reasoning for Enumerable#all? to always return true for
empty arrays?
Best regards,
Andre