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

rescue StopIteration only.

parent b844b968
...@@ -45,7 +45,7 @@ module Kernel ...@@ -45,7 +45,7 @@ module Kernel
while(true) while(true)
yield yield
end end
rescue => StopIteration rescue StopIteration
nil nil
end 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