Skip to content

Instantly share code, notes, and snippets.

@mbklein
Last active December 12, 2015 00:28
Ruby assertions, 4chan style.
class GTFO < Exception; end
def gtfo
raise GTFO, caller.join("\n")
end
a = 1
b = 2
a == b or gtfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment