From ba0f38f89e8473490270957849d7d5b06f6ee65b Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 13 Jun 2008 17:34:17 -0500 Subject: Change Enumberal#several? to Enumberal#many? --- activesupport/lib/active_support/core_ext/enumerable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/core_ext/enumerable.rb b/activesupport/lib/active_support/core_ext/enumerable.rb index 8e148cc1b4..9647797ec2 100644 --- a/activesupport/lib/active_support/core_ext/enumerable.rb +++ b/activesupport/lib/active_support/core_ext/enumerable.rb @@ -79,7 +79,7 @@ module Enumerable end # Returns true if the collection has more than 1 element. Functionally equivalent to collection.size > 1. - def several? + def many? size > 1 end end -- cgit v1.2.3