Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::SpecializedString
- Inherits:
-
Type::String
- Object
- Type::Value
- Type::String
- 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.
Attributes inherited from Type::Value
Instance Method Summary collapse
-
#initialize(type) ⇒ SpecializedString
constructor
A new instance of SpecializedString.
Methods inherited from Type::String
#changed_in_place?, #type_cast_for_database
Methods inherited from Type::Value
#==, #binary?, #changed?, #changed_in_place?, #klass, #number?, #type_cast_for_database, #type_cast_for_schema, #type_cast_from_database, #type_cast_from_user
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
#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 |