Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::SpecializedString

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

Instance Method Summary collapse

Methods inherited from String

#type_cast

Methods inherited from Identity

#type_cast

Methods inherited from Type

#infinity, #simplified_type

Constructor Details

#initialize(type) ⇒ SpecializedString

Returns a new instance of SpecializedString.



48
49
50
# File 'lib/arjdbc/postgresql/base/oid.rb', line 48

def initialize(type)
  @type = type
end

Instance Method Details

#typeObject



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

def type; @type end