Class: PG::BinaryEncoder::Int4
- Inherits:
-
SimpleEncoder
- Object
- SimpleEncoder
- PG::BinaryEncoder::Int4
- Defined in:
- ext/pg_binary_encoder.c
Overview
This is the encoder class for the PostgreSQL int4 (alias integer) type.
Non-Number values are expected to have method to_i defined.