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.



18
19
20
# File 'lib/active_record/connection_adapters/postgresql/oid/xml.rb', line 18

def initialize(value)
  @value = value
end

Instance Method Details

#to_sObject



22
23
24
# File 'lib/active_record/connection_adapters/postgresql/oid/xml.rb', line 22

def to_s
  @value
end