aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Nartimov <just.lest@gmail.com>2011-12-20 21:14:57 +0300
committerSergey Nartimov <just.lest@gmail.com>2011-12-20 21:14:57 +0300
commite7d827ec504a1bdd93e7e424926c9bc36e795a72 (patch)
tree33559e3ddbb485d640b30575328ea51fa3a9903a
parent226b4ae79cdd348f203baddb3ec1f8842f920c4c (diff)
downloadrails-e7d827ec504a1bdd93e7e424926c9bc36e795a72.tar.gz
rails-e7d827ec504a1bdd93e7e424926c9bc36e795a72.tar.bz2
rails-e7d827ec504a1bdd93e7e424926c9bc36e795a72.zip
requiring enumerator is not nessessary in ruby 1.9
-rw-r--r--activesupport/lib/active_support/core_ext/array/grouping.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/grouping.rb b/activesupport/lib/active_support/core_ext/array/grouping.rb
index 4cd9bfadac..2b3f639cb1 100644
--- a/activesupport/lib/active_support/core_ext/array/grouping.rb
+++ b/activesupport/lib/active_support/core_ext/array/grouping.rb
@@ -1,5 +1,3 @@
-require 'enumerator'
-
class Array
# Splits or iterates over the array in groups of size +number+,
# padding any remaining slots with +fill_with+ unless it is +false+.