Skip to content

Commit

Permalink
Enumerator#initialize support duck-type
Browse files Browse the repository at this point in the history
  • Loading branch information
ksss committed Mar 29, 2014
1 parent 938281c commit 5a2014b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrbgems/mruby-enumerator/mrblib/enumerator.rb
Expand Up @@ -118,7 +118,7 @@ def initialize obj=nil, meth=:each, *args, &block
end

@obj = obj
@meth = meth
@meth = meth.to_sym
@args = args.dup
@fib = nil
@dst = nil
Expand Down

0 comments on commit 5a2014b

Please sign in to comment.