Sha256: 10147a5b0083529e126916e1f33a72eb8223262cb14e25d15c941f5916d43bfb

Contents?: true

Size: 158 Bytes

Versions: 10

Compression:

Stored size: 158 Bytes

Contents

# Convenient whenever running into an infinite loop
Signal.trap("TERM") do
  puts "SIGTERM received, printing backtrace:"
  puts caller.join("\n")
  exit
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
foobara-empty-ruby-project-generator-0.0.10 templates/spec/support/term_trap.rb
foobara-empty-ruby-project-generator-0.0.9 templates/spec/support/term_trap.rb
foobara-empty-ruby-project-generator-0.0.8 templates/spec/support/term_trap.rb
foobara-empty-ruby-project-generator-0.0.7 templates/spec/support/term_trap.rb
foobara-empty-ruby-project-generator-0.0.6 templates/spec/support/term_trap.rb
foobara-empty-ruby-project-generator-0.0.5 templates/spec/support/term_trap.rb
foobara-empty-ruby-project-generator-0.0.4 templates/spec/support/term_trap.rb
foobara-empty-ruby-project-generator-0.0.3 templates/spec/support/term_trap.rb
foobara-empty-ruby-project-generator-0.0.2 templates/spec/support/term_trap.rb
foobara-empty-ruby-project-generator-0.0.1 templates/spec/support/term_trap.rb