class ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Range

def map(value) # :nodoc:

:nodoc:
def map(value) # :nodoc:
  new_begin = yield(value.begin)
  new_end = yield(value.end)
  ::Range.new(new_begin, new_end, value.exclude_end?)
end