-
-
Save tiagoefmoraes/5d9f5ae3575854a62eea to your computer and use it in GitHub Desktop.
Better BigDecimal inspect for tests and diffs
This file contains hidden or 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
class BigDecimal | |
def inspect | |
format("#<BigDecimal: %s>", to_s('F')) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment