Sha256: 12104b0b5964d421e1569c43f526ab12715059b265dd706b1f24cacc30e3eb28
Contents?: true
Size: 493 Bytes
Versions: 7
Compression:
Stored size: 493 Bytes
Contents
# frozen_string_literal: true module Vedeu module Runtime # Vedeu can respond to various signals which are handled here. # module Traps # :nocov: Signal.trap('INT') do exit(1) end Signal.trap('TERM') do exit(1) end Signal.trap('TTIN') {} Signal.trap('USR1') {} Signal.trap('USR2') {} Signal.trap('SIGWINCH') { Vedeu.trigger(:_resize_) } # :nocov: end # Traps end # Runtime end # Vedeu
Version data entries
7 entries across 7 versions & 1 rubygems