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

Inherits:
Type::String
  • Object
show all
Defined in:
activerecord/lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ SpecializedString


8
9
10
# File 'activerecord/lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb', line 8

def initialize(type)
  @type = type
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type


6
7
8
# File 'activerecord/lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb', line 6

def type
  @type
end