Class: TTK::Dumpers::Xml

Inherits:
Dumper show all
Includes:
Concrete
Defined in:
lib/ttk/dumpers/Xml.rb

Instance Method Summary collapse

Methods inherited from Dumper

#flush, #update

Constructor Details

#initialize(*a, &b) ⇒ Xml

Returns a new instance of Xml.



17
18
19
20
21
# File 'lib/ttk/dumpers/Xml.rb', line 17

def initialize ( *a, &b )
  super
	@doc = @root = REXML::Document.new
	@io.puts '<?xml version="1.0" encoding="iso-8859-1"?>'
end