Convert IPAddr value to a string and append a literal version of the string to the sql.
# File lib/sequel/extensions/pg_inet.rb, line 77 77: def literal_other_append(sql, value) 78: if value.is_a?(IPAddr) 79: literal_string_append(sql, "#{value.to_s}/#{value.instance_variable_get(:@mask_addr).to_s(2).count('1')}") 80: else 81: super 82: end 83: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.