Mega Code Archive
Categories
/
Ruby
/
Statement
Raise one on your own with the raise method from Kernel
bad_dog = true if bad_dog raise StandardError, "bad doggy" else arf_arf end