Class: Synapse::Serialization::XmlToOxDocumentConverter

Inherits:
Object
  • Object
show all
Includes:
Converter
Defined in:
lib/synapse/serialization/converter/ox.rb

Overview

Converter that converts an XML string into an Ox document

Instance Method Summary collapse

Methods included from Converter

#convert, #initialize

Instance Method Details

#convert_content(original) ⇒ Object

Parameters:

  • original (Object)

Returns:

  • (Object)


26
27
28
# File 'lib/synapse/serialization/converter/ox.rb', line 26

def convert_content(original)
  Ox.load original, @options
end