lib/active_enumerable/enumerable.rb in active_enumerable-0.1.1 vs lib/active_enumerable/enumerable.rb in active_enumerable-0.2.0

- old
+ new

@@ -1,9 +1,9 @@ module ActiveEnumerable module Enumerable include ::Enumerable def each(*args, &block) - @to_a.send(:each, *args, &block) + @collection.send(:each, *args, &block) end end end