Method: Sequel::Postgres::AutoParameterize::QueryString#initialize_copy

Defined in:
lib/sequel/extensions/pg_auto_parameterize.rb

#initialize_copy(other) ⇒ Object

[View source]

163
164
165
166
167
168
169
# File 'lib/sequel/extensions/pg_auto_parameterize.rb', line 163

def initialize_copy(other)
  super
  if args = other.instance_variable_get(:@args)
    @args = args.dup
    @arg_map = other.instance_variable_get(:@arg_map).dup
  end
end