PG::TextEncoder::

Numeric

class
Superclass
PG::SimpleEncoder

This is the encoder class for the PostgreSQL numeric types.

It converts Integer, Float and BigDecimal objects. All other objects are expected to respond to to_s.