Sha256: 9e8891cc00a0d9d5312661aacbc3c6fff840bde2aca36a600f886d2381326251

Contents?: true

Size: 136 Bytes

Versions: 30

Compression:

Stored size: 136 Bytes

Contents

class BigDecimal
  def as_json(options = nil) #:nodoc:
    if finite?
      self.to_f
    else
      NilClass::AS_JSON
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
activerecord_sqlserver_crm-5.1.3 lib/big_decimal.rb
activerecord_sqlserver_crm-5.1.2 lib/big_decimal.rb
activerecord_sqlserver_crm-5.1.1 lib/big_decimal.rb
activerecord_sqlserver_crm-5.0.7 lib/big_decimal.rb
activerecord_sqlserver_crm-5.0.6 lib/big_decimal.rb
activerecord_sqlserver_crm-5.1.0 lib/big_decimal.rb
activerecord_sqlserver_crm-5.0.5 lib/big_decimal.rb
activerecord_sqlserver_crm-5.0.4 lib/big_decimal.rb
activerecord_sqlserver_crm-5.0.3 lib/big_decimal.rb
activerecord_sqlserver_crm-5.0.2 lib/big_decimal.rb
activerecord_sqlserver_crm-5.0.1 lib/big_decimal.rb
activerecord_sqlserver_crm-5.0.0 lib/big_decimal.rb
activerecord_sqlserver_crm-4.3.0 lib/big_decimal.rb
activerecord_sqlserver_crm-4.2.18 lib/big_decimal.rb
activerecord_sqlserver_crm-4.2.17 lib/big_decimal.rb
activerecord_sqlserver_crm-4.2.16 lib/big_decimal.rb
activerecord_sqlserver_crm-4.2.15 lib/big_decimal.rb
activerecord_sqlserver_crm-4.2.14 lib/big_decimal.rb
activerecord_sqlserver_crm-4.2.13 lib/big_decimal.rb
activerecord_sqlserver_crm-4.2.12 lib/big_decimal.rb