Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::SpecializedString
- Inherits:
-
Type::String
- Object
- ActiveRecord::ConnectionAdapters::PostgreSQL::OID::SpecializedString
- Defined in:
- lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, **options) ⇒ SpecializedString
constructor
A new instance of SpecializedString.
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, **) @type = type super(**) end |
Instance Attribute Details
#type ⇒ Object (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 |