Class: TTK::Dumpers::Xml
- Includes:
- Concrete
- Defined in:
- lib/ttk/dumpers/Xml.rb
Instance Method Summary collapse
-
#initialize(*a, &b) ⇒ Xml
constructor
A new instance of Xml.
Methods inherited from Dumper
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 |