Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Xml
- Inherits:
-
Type::String
- Object
- ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Xml
- Defined in:
- activerecord/lib/active_record/connection_adapters/postgresql/oid/xml.rb
Overview
:nodoc:
Defined Under Namespace
Classes: Data
Instance Method Summary collapse
Instance Method Details
#serialize(value) ⇒ Object
12 13 14 15 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/oid/xml.rb', line 12 def serialize(value) return unless value Data.new(super) end |
#type ⇒ Object
8 9 10 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/oid/xml.rb', line 8 def type :xml end |