summaryrefslogtreecommitdiff
path: root/report/xml_report.rb
diff options
context:
space:
mode:
authorMartin Gütlein <martin.guetlein@gmail.com>2010-03-08 17:01:23 +0100
committerMartin Gütlein <martin.guetlein@gmail.com>2010-03-08 17:01:23 +0100
commit9c41e91c6a6067d8b254e0ef5da66c752fabdb4d (patch)
tree74d4e9702bed59f2d6d5b3fd035e88020dba9f79 /report/xml_report.rb
parente93ada015dbe91cff5b72eb8628c4f52814e3bdb (diff)
fixed: percent float instead of int, sum of number counts for cv
Diffstat (limited to 'report/xml_report.rb')
-rw-r--r--report/xml_report.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/report/xml_report.rb b/report/xml_report.rb
index be66851..4b62457 100644
--- a/report/xml_report.rb
+++ b/report/xml_report.rb
@@ -1,6 +1,5 @@
require 'rexml/document'
-include REXML
ENV['REPORT_DTD'] = "docbook-xml-4.5/docbookx.dtd" unless ENV['REPORT_DTD']
#transfer to absolute path
@@ -13,6 +12,7 @@ ENV['REPORT_DTD'] = File.expand_path(ENV['REPORT_DTD']) if File.exist?(ENV['REPO
# uses Env-Variable _XMLREPORT_DTD_ to specifiy the dtd
#
class Reports::XMLReport
+ include REXML
# create new xmlreport
def initialize(title, pubdate=nil, author_firstname = nil, author_surname = nil)