Class: BigDecimal
- Inherits:
-
Object
- Object
- BigDecimal
- Defined in:
- lib/persevere_adapter/support/big_decimal.rb
Overview
Override BigDecimal to_json because it’s ugly and doesn’t work for us
Instance Method Summary collapse
Instance Method Details
#to_json ⇒ Object
7 8 9 |
# File 'lib/persevere_adapter/support/big_decimal.rb', line 7 def to_json to_s end |
#to_json_old ⇒ Object
5 |
# File 'lib/persevere_adapter/support/big_decimal.rb', line 5 alias to_json_old to_json |