Created
June 19, 2011 18:14
-
-
Save alloy/1034552 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adjust accordingly for the type of exception being raised. | |
class NoMethodError | |
alias_method :_message, :message | |
def message | |
"#{_message}\t\n#{backtrace.join("\t\n")}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment