all?

July 4th, 2009

1
2
3
4
5
6
7
8
9
10
11
>> [true, false].all?
=> false
>> [true, true].all?
=> true

>> [true, true].any?
=> true
>> [true, false].any?
=> true
>> [false, false].any?
=> false