Commit 4b4784f9 authored by Tomoyuki Sahara's avatar Tomoyuki Sahara

rescue StopIteration only.

parent b844b968
......@@ -45,7 +45,7 @@ module Kernel
while(true)
yield
end
rescue => StopIteration
rescue StopIteration
nil
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment