Class: ODDB::Import::Xml

Inherits:
Importer show all
Defined in:
lib/oddb/import/xml.rb

Instance Attribute Summary

Attributes inherited from Importer

#report

Instance Method Summary collapse

Methods inherited from Importer

#capitalize_all, #company_name, #initialize, #postprocess, #utf8

Constructor Details

This class inherits a constructor from ODDB::Import::Importer

Instance Method Details

#import(io) ⇒ Object



10
11
12
# File 'lib/oddb/import/xml.rb', line 10

def import(io)
  import_document(REXML::Document.new(io))
end