Module: Rdomino::DbDcDoc

Included in:
Database, Document, DocumentCollection
Defined in:
lib/rdomino/1modules.rb

Instance Method Summary collapse

Instance Method Details

#dxlObject



32
33
34
35
# File 'lib/rdomino/1modules.rb', line 32

def dxl
  dxl_exporter = Session.session.createDXLExporter
  dxl_exporter.export(@obj)
end

#dxl_to_file(filename) ⇒ Object



26
27
28
29
30
# File 'lib/rdomino/1modules.rb', line 26

def dxl_to_file(filename)
  File.open(filename, "w") do |f| 
    f << dxl 
  end
end