Class: ActiveRecord::Coders::XML
- Inherits:
-
Object
- Object
- ActiveRecord::Coders::XML
- Defined in:
- lib/pg-xml/coder.rb
Class Method Summary collapse
Instance Method Summary collapse
- #dump(xml_document) ⇒ Object
-
#initialize(default = nil) ⇒ XML
constructor
A new instance of XML.
- #load(xml_string) ⇒ Object
Constructor Details
#initialize(default = nil) ⇒ XML
Returns a new instance of XML.
13 14 15 |
# File 'lib/pg-xml/coder.rb', line 13 def initialize(default=nil) @default=default end |