diff --git a/mrblib/kernel.rb b/mrblib/kernel.rb index fd4dc04ac..81d7acf5d 100644 --- a/mrblib/kernel.rb +++ b/mrblib/kernel.rb @@ -45,7 +45,7 @@ module Kernel while(true) yield end - rescue => StopIteration + rescue StopIteration nil end