Skip to content

Commit

Permalink
Enumerator::Generator is an Enumerable class
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Oct 25, 2015
1 parent 218b3b1 commit d136afe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib-topaz/enumerator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ def with_object(obj, &block)
end

class Generator
include Enumerable

def initialize(&block)
@block = block
self
Expand Down
1 change: 0 additions & 1 deletion spec/tags/core/enumerator/generator/each_tags.txt

This file was deleted.

0 comments on commit d136afe

Please sign in to comment.