Return the expression wrapped in the Postgres::InetOp.
171 172 173 174 175 176 177 178
# File 'lib/sequel/extensions/pg_inet_ops.rb', line 171 def pg_inet_op(v) case v when Postgres::InetOp v else Postgres::InetOp.new(v) end end