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, #parse_type_and_data, #refile, register, #render, #subtype, #text, #to, #to_default, #to_s, #type

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