bug!

T

trans. (T. Onoma)

This just struck me as so "cute" that I had to share.

# Usage:
#
# if find_bug then
# bug! "unknown bug found"
# end
#

class ScriptBug < Exception; end

def bug!( message = 'must not happen' )
raise ScriptBug, "\n[SCRIPT BUG] " + message
end

Lovely, Minero Aoki! :)
T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,813
Messages
2,569,696
Members
45,480
Latest member
CrazyMember

Latest Threads

Top