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, **options) ⇒ SpecializedString

Returns a new instance of SpecializedString.



10
11
12
13
# File 'lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb', line 10

def initialize(type, **options)
  @type = type
  super(options)
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



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

def type
  @type
end