Changeset [6d6bcf8471b87c602093ab4061b49352e4efdd2b] by Egor Lynko
Revision 6d6bcf8471b87c602093ab4061b49352e4efdd2b,
committed by Egor Lynko
· July 26th, 2017 @ 03:23 AM
Make errors more inspectable by settings message
When message is set as variable, instead of redefining
message
method, the message will be used in inspect and
to_s calls,
both implicit and explicit, which improves logs readability and
simmplifies debugging in the irb
https://github.com/aasm/aasm/commit/6d6bcf8471b87c602093ab4061b4935...
1 changed file
-
M
lib/aasm/errors.rb