class ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Float
Public Instance Methods
type_cast(value)
click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 212 def type_cast(value) case value when nil; nil when 'Infinity'; ::Float::INFINITY when '-Infinity'; -::Float::INFINITY when 'NaN'; ::Float::NAN else value.to_f end end