Module: PG::Coder::BinaryFormatting

Defined in:
lib/pg/coder.rb,
ext/pg_coder.c

Instance Method Summary collapse

Instance Method Details

#initialize(hash = {}, **kwargs) ⇒ Object



9
10
11
12
# File 'lib/pg/coder.rb', line 9

def initialize(hash={}, **kwargs)
	warn("PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from #{caller.first}", category: :deprecated) unless hash.empty?
	super(format: 1, **hash, **kwargs)
end