Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Enum

Inherits:
Type
  • Object
show all
Defined in:
lib/arjdbc/postgresql/base/oid.rb

Instance Method Summary collapse

Methods inherited from Type

#infinity, #simplified_type

Instance Method Details

#typeObject



291
# File 'lib/arjdbc/postgresql/base/oid.rb', line 291

def type; :enum end

#type_cast(value) ⇒ Object



293
294
295
# File 'lib/arjdbc/postgresql/base/oid.rb', line 293

def type_cast(value)
  value.to_s
end