lib/tty/terminal/echo.rb in tty-0.0.9 vs lib/tty/terminal/echo.rb in tty-0.0.10
- old
+ new
@@ -28,10 +28,10 @@
begin
self.off unless is_on
value = block.call if block_given?
self.on
return value
- rescue NoMethodError, Interrupt => e
+ rescue NoMethodError, Interrupt
self.on
exit
end
end