Skip to content

Commit

Permalink
Fix Enumerator::Lazy#{to_enum,enum_for}
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Sep 3, 2013
1 parent 0312872 commit 27b5b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/common/enumerator20.rb
Expand Up @@ -104,7 +104,7 @@ def to_enum(method_name=:each, *method_args, &block)
ret = Lazy.allocate

Rubinius.privately do
ret.initialize_enumerator @object, size, method_name, *method_args
ret.initialize_enumerator self, size, method_name, *method_args
end

ret
Expand Down

0 comments on commit 27b5b5d

Please sign in to comment.