lib/vedeu/traps.rb in vedeu-0.4.44 vs lib/vedeu/traps.rb in vedeu-0.4.45
- old
+ new
@@ -3,10 +3,11 @@
# Vedeu can respond to various signals which are handled here.
#
# @api private
module Traps
+ # :nocov:
Signal.trap('INT') do
puts
exit(1)
end
@@ -18,9 +19,10 @@
Signal.trap('TTIN') {}
Signal.trap('USR1') {}
Signal.trap('USR2') {}
Signal.trap('SIGWINCH') { Vedeu.trigger(:_resize_) }
+ # :nocov:
end # Traps
end # Vedeu