push
travis-ci
5183 of 5444 relevant lines covered (95.21%)
13.33 hits per line
1 |
module Guard |
4 all except jruby ✔ |
2 |
module Internals |
4 all except jruby ✔ |
3 |
module Traps |
4 all except jruby ✔ |
4 |
def self.handle(signal, &block) |
4 all except jruby ✔ |
5 |
return unless Signal.list.key?(signal) |
× |
6 |
Signal.trap(signal, &block)
|
× |
7 |
end
|
|
8 |
end
|
|
9 |
end
|
|
10 |
end
|