Methods

Files

Class/Module Index [+]

Quicksearch

ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Cidr

Public Instance Methods

type() click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 317
def type; :cidr end
type_cast(value) click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 318
def type_cast(value)
  return if value.nil?

  ConnectionAdapters::PostgreSQLColumn.string_to_cidr value
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.