aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-06-13 17:34:17 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-06-13 17:34:17 -0500
commitba0f38f89e8473490270957849d7d5b06f6ee65b (patch)
tree6bf2d17d3b4081ec432095a6442f7b8ee30024f3 /activesupport/lib/active_support/core_ext
parenteea4fe4c902e71249d77b3103eade3dec905f98a (diff)
downloadrails-ba0f38f89e8473490270957849d7d5b06f6ee65b.tar.gz
rails-ba0f38f89e8473490270957849d7d5b06f6ee65b.tar.bz2
rails-ba0f38f89e8473490270957849d7d5b06f6ee65b.zip
Change Enumberal#several? to Enumberal#many?
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/enumerable.rb2
1 files changed, 1 insertions, 1 deletions
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