summaryrefslogtreecommitdiff
path: root/code/snippets/custom_exit_bang.rb
diff options
context:
space:
mode:
Diffstat (limited to 'code/snippets/custom_exit_bang.rb')
-rw-r--r--code/snippets/custom_exit_bang.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/snippets/custom_exit_bang.rb b/code/snippets/custom_exit_bang.rb
new file mode 100644
index 0000000..604b238
--- /dev/null
+++ b/code/snippets/custom_exit_bang.rb
@@ -0,0 +1,3 @@
+# You can still pass an exit code.
+exit! 33
+