Module: PG::Coder::BinaryFormatting
Relationships & Source Files | |
Defined in: | lib/pg/coder.rb, ext/pg_coder.c |
Instance Method Summary
Instance Method Details
#initialize(hash = {}, **kwargs)
[ GitHub ]# 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