From: "nurettin (Nurettin Onur TUGCU)" Date: 2013-08-02T21:42:31+09:00 Subject: [ruby-core:56338] [CommonRuby - Feature #8723] Array.any? predicate returns true for empty array. Issue #8723 has been updated by nurettin (Nurettin Onur TUGCU). Yes, I meant for .all? (wasn't able to edit) and the behavior is correct according to docs, and incorrect according to my interpretation of sets. (can a predicate be true when you have empty set?) ---------------------------------------- Feature #8723: Array.any? predicate returns true for empty array. https://bugs.ruby-lang.org/issues/8723#change-40831 Author: nurettin (Nurettin Onur TUGCU) Status: Feedback Priority: Normal Assignee: Category: Target version: Are all your children redheaded? Would this be true if you have no children? I have no children, therefore none of my children are redheaded. Therefore [].any?{ true } == true makes no sense. Expected behavior: [].any?{ true } == false because the array is empty. -- http://bugs.ruby-lang.org/