Module: Exportable::ExportMethods::XmlExporter

Includes:
Utils
Included in:
Exportable::ExportMethods
Defined in:
lib/exportable/export_methods/xml_exporter.rb

Overview

Module to handle only XLS exporting

Defined Under Namespace

Classes: Exporter

Instance Method Summary collapse

Methods included from Utils

#get_export_options

Instance Method Details

#export_xml(options = {}) ⇒ Object



8
9
10
11
# File 'lib/exportable/export_methods/xml_exporter.rb', line 8

def export_xml(options = {})
  export_options = get_export_options(self, @options.merge(options))
  Exporter.new(self).export(export_options)
end