method
many?

Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: Enumerable
many?()
public
Returns true if the enumerable has more than 1 element. Functionally equivalent to enum.to_a.size > 1. Can be called with a block too, much like any?, so people.many? { |p| p.age > 26 } returns true if more than one person is over 26.