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

Inherits:
Type::String
  • Object
show all
Defined in:
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

Returns a new instance of SpecializedString.



8
9
10
# File '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 'lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb', line 6

def type
  @type
end