lib/est.rb in est-0.1 vs lib/est.rb in est-0.2

- old
+ new

@@ -68,18 +68,18 @@ # Generate XML. def xml dir = @opts.dir? ? @opts[:dir] : Dir.pwd Est.log.info "reading #{dir}" - estimates = Estimates.new(dir) + estimates = Estimates::Const.new(Estimates.new(dir)) sanitize( Nokogiri::XML::Builder.new do |xml| xml << "<?xml-stylesheet type='text/xsl' href='#{xsl}'?>" xml.estimate(attrs) do xml.total estimates.total xml.ests do estimates.iterate.each do |est| - xml.est('id' => est.id) do + xml.est do xml.date est.date xml.total est.total xml.author est.author end end