class ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Array
Attributes
subtype[R]
Public Class Methods
new(subtype)
click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 90 def initialize(subtype) @subtype = subtype end
Public Instance Methods
type_cast(value)
click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 94 def type_cast(value) if ::String === value ConnectionAdapters::PostgreSQLColumn.string_to_array value, @subtype else value end end