diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-20 10:18:49 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-20 10:18:49 -0800 |
commit | 9bcd52ffca59998b21b5edf5d045a7eaed9b4a2f (patch) | |
tree | 04e8643f1e2c8e2577aaf772bd80f4c721ebba06 /activesupport/lib/active_support/core_ext/array/grouping.rb | |
parent | 10a5497f2eafeb95c373175238197eac6ceb5070 (diff) | |
parent | e7d827ec504a1bdd93e7e424926c9bc36e795a72 (diff) | |
download | rails-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
Diffstat (limited to 'activesupport/lib/active_support/core_ext/array/grouping.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/array/grouping.rb | 2 |
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+. |