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.
8 9 10 11 |
# File 'lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb', line 8 def initialize(type, **) @type = type super() end |
Instance Attribute Details
#type ⇒ Object (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 |