Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Xml::Data

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/connection_adapters/postgresql/oid/xml.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Data

Returns a new instance of Data.



16
17
18
# File 'lib/active_record/connection_adapters/postgresql/oid/xml.rb', line 16

def initialize(value)
  @value = value
end

Instance Method Details

#to_sObject



20
21
22
# File 'lib/active_record/connection_adapters/postgresql/oid/xml.rb', line 20

def to_s
  @value
end