Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

Method all? return true for empty Array

#2920

Simple example:

[].all? { |t| t.is_a?(String) } => true

Reported by Paweł Kondzior · July 17th, 2009 @ 09:43 AM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Paweł Kondzior
    Paweł Kondzior

    My mistake it's part of Enumerable module, i thought it was ActiveSupport.

    Please close.

    July 17th, 2009 @ 09:55 AM

  2. CancelProfileIsBroken
    CancelProfileIsBroken
    • State changed from new to invalid

    July 17th, 2009 @ 10:27 AM