Class: BigDecimal

Inherits:
Object
  • Object
show all
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_jsonObject



7
8
9
# File 'lib/persevere_adapter/support/big_decimal.rb', line 7

def to_json
  to_s
end

#to_json_oldObject



5
# File 'lib/persevere_adapter/support/big_decimal.rb', line 5

alias to_json_old to_json