Module: Semian::PG::ClassMethods

Defined in:
lib/semian/pg.rb

Overview

The pg gem defines some necessary methods on class level, which is why we have to hook into them.

Instance Method Summary collapse

Instance Method Details

#connect_start(*args) ⇒ Object



128
129
130
131
132
# File 'lib/semian/pg.rb', line 128

def connect_start(*args)
  conn = super
  conn.instance_variable_set(:@iopts, _iopts(*args))
  conn
end