Sha256: 5450d68a1e6544ef717aafd76283359b3272fc763cd057053256aaf60bd7e22d
Contents?: true
Size: 404 Bytes
Versions: 8
Compression:
Stored size: 404 Bytes
Contents
module Vedeu # Vedeu can respond to various signals which are handled here. # # @api private module Traps Signal.trap('INT') do puts exit(1) end Signal.trap('TERM') do puts exit(1) end Signal.trap('TTIN') {} Signal.trap('USR1') {} Signal.trap('USR2') {} Signal.trap('SIGWINCH') { Vedeu.trigger(:_resize_) } end # Traps end # Vedeu
Version data entries
8 entries across 8 versions & 1 rubygems