edge badge
Methods
T
Instance Public methods
type()
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 304
def type; :cidr end
type_cast(value)
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 305
def type_cast(value)
  return if value.nil?

  ConnectionAdapters::PostgreSQLColumn.string_to_cidr value
end