Class: Malt::Format::XML

Inherits:
Abstract show all
Defined in:
lib/malt/formats/xml.rb

Overview

TODO: Add conversion to_html.

Instance Attribute Summary

Attributes inherited from Abstract

#options

Instance Method Summary collapse

Methods inherited from Abstract

#default, #engine, engine, extensions, #extensions, #file, file_extension, #file_read, #file_type, #parse_type_from_data, #refile, register, #render, #render_into, #rendering_parameters, #scope_vs_data, #subtype, #text, #to, #to_default, #to_s, #type, #with, #with!

Instance Method Details

#to_xmlObject

XML is XML ;)



16
17
18
# File 'lib/malt/formats/xml.rb', line 16

def to_xml(*)
  self
end

#xmlObject



11
12
13
# File 'lib/malt/formats/xml.rb', line 11

def xml(*)
  text
end