Class: PG::CompositeCoder

### Home Classes Methods

### In Files

- lib/pg/coder.rb

### Parent

PG::Coder

### Methods

- #inspect
- #to_h

### Files

- LICENSE
- Manifest.txt
- POSTGRES
- README-OS_X.rdoc
- README-Windows.rdoc
- README.ja.rdoc
- README.rdoc
- errorcodes.txt

### Class/Module Index

Quicksearch

- PG
- PG::BasicTypeMapBasedOnResult
- PG::BasicTypeMapForQueries
- PG::BasicTypeMapForResults
- PG::BasicTypeMapForResults::WarningTypeMap
- PG::BasicTypeRegistry
- PG::BasicTypeRegistry::CoderMap
- PG::Coder
- PG::Coder::BinaryFormatting
- PG::CompositeCoder
- PG::Connection
- PG::Connection
- PG::Constants
- PG::CopyCoder
- PG::Error
- PG::NotAllCopyDataRetrieved
- PG::Result
- PG::Result
- PG::TextDecoder
- PG::TextDecoder::Date
- PG::TextDecoder::TimestampWithTimeZone
- PG::TextDecoder::TimestampWithoutTimeZone
- PG::TextEncoder
- PG::TextEncoder::Date
- PG::TextEncoder::TimestampWithTimeZone
- PG::TextEncoder::TimestampWithoutTimeZone
- PG::TypeMapByColumn
- Object
- Object::PGconn
- Object::PGresult

No matching classes.

# PG::CompositeCoder

### Public Instance Methods

inspect() click to toggle source

    # File lib/pg/coder.rb, line 66
    def inspect
            str = super
            str[-1,0] = " elements_type=#{elements_type.inspect} #{needs_quotation? ? 'needs' : 'no'} quotation"
            str
    end

to_h() click to toggle source

    # File lib/pg/coder.rb, line 58
    def to_h
            super.merge!({
                    elements_type: elements_type,
                    needs_quotation: needs_quotation?,
                    delimiter: delimiter,
            })
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.