Better BigDecimal#inspect. Great with tests. By @aalin.
class BigDecimal | |
def inspect | |
format("#<BigDecimal:%x %s>", object_id, to_s('F')) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment