Class: PG::TextEncoder::Numeric

Inherits:
SimpleEncoder
  • Object
show all
Defined in:
ext/pg_text_encoder.c

Overview

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.