aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-12-20 10:18:49 -0800
committerJosé Valim <jose.valim@gmail.com>2011-12-20 10:18:49 -0800
commit9bcd52ffca59998b21b5edf5d045a7eaed9b4a2f (patch)
tree04e8643f1e2c8e2577aaf772bd80f4c721ebba06
parent10a5497f2eafeb95c373175238197eac6ceb5070 (diff)
parente7d827ec504a1bdd93e7e424926c9bc36e795a72 (diff)
downloadrails-9bcd52ffca59998b21b5edf5d045a7eaed9b4a2f.tar.gz
rails-9bcd52ffca59998b21b5edf5d045a7eaed9b4a2f.tar.bz2
rails-9bcd52ffca59998b21b5edf5d045a7eaed9b4a2f.zip
Merge pull request #4070 from lest/remove-require-enumerator
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+.