Sha256: f3f0b02348e4601350a5a199b26e1ae9d3e717679d0d013efa3134a311a9f02e
Contents?: true
Size: 301 Bytes
Versions: 4
Compression:
Stored size: 301 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib') require 'cacofonix' File.open('output.xml', "w") do |output| header = Cacofonix::Header.new header.from_company = "Sample Company" header.from_person = "James" writer = Cacofonix::Writer.new(output, header) writer.end_document end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cacofonix-0.10.3 | examples/writer.rb |
cacofonix-0.10.2 | examples/writer.rb |
cacofonix-0.10.1 | examples/writer.rb |
cacofonix-0.10.0 | examples/writer.rb |