make private method enumerator_block_call

This commit is contained in:
ksss
2014-03-14 23:42:04 +09:00
parent e893349e95
commit 29964cfdac
@@ -267,8 +267,13 @@ class Enumerator
@args = args
end
return self unless block_given?
enumerator_block_call(&block)
end
def enumerator_block_call(&block)
@obj.__send__ @meth, *@args, &block
end
private :enumerator_block_call
##
# call-seq: