Class: PG::BinaryEncoder::Boolean

Inherits:
SimpleEncoder show all
Defined in:
ext/pg_binary_encoder.c

Overview

This is the encoder class for the PostgreSQL boolean type.

It accepts true and false. Other values will raise an exception.

Instance Attribute Summary

Attributes inherited from Coder

#name

Method Summary

Methods inherited from Coder

#==, #decode, #dup, #encode, #format, #format=, #initialize, #inspect, #marshal_dump, #marshal_load, #oid, #oid=, #to_h

Constructor Details

This class inherits a constructor from PG::Coder