PG::TextEncoder::

Integer

class
Superclass
PG::SimpleEncoder

This is the encoder class for the PostgreSQL integer types.

Non-Integer values are expected to have method to_i defined.