summaryrefslogtreecommitdiff
path: root/sample/trap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/trap.rb')
-rw-r--r--sample/trap.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/sample/trap.rb b/sample/trap.rb
deleted file mode 100644
index e552a0fddc..0000000000
--- a/sample/trap.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-trap('print("C-c handled\n")', 'INT', 'HUP')
-print("---\n")
-while gets(); print($_) end