<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -91,5 +91,3 @@ Rake::RDocTask.new(&quot;rdoc&quot;) { |rdoc|
   rdoc.rdoc_files.include('doc/readme_for_vim')
   rdoc.rdoc_files.include('lib/**/*.rb')
 }
-
-# vim: set sw=2 ft=ruby:</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,23 @@
 require 'rcov/xx'
+require &quot;erb&quot;
+
+class Hash
+  def to_binding(object = Object.new)
+    object.instance_eval(&quot;def binding_for(#{keys.join(&quot;,&quot;)}) binding end&quot;)
+    object.binding_for(*values)
+  end
+end
+
+class Document
+  def initialize(template)
+    @template = ERB.new(template)
+  end
+  
+  def interpolate(replacements = {})
+    @template.result(replacements.to_binding)
+  end
+end
 
-# extend XX
 module XX
   module XMLish
     include Markup
@@ -16,7 +33,7 @@ module Rcov
   class BaseFormatter # :nodoc:
     require 'pathname'
 
-    ignore_files = [/\A#{Regexp.escape(Pathname.new(Config::CONFIG[&quot;libdir&quot;]).cleanpath.to_s)}/,
+    ignore_files = [/\A#{Regexp.escape(Pathname.new(::Config::CONFIG[&quot;libdir&quot;]).cleanpath.to_s)}/,
                     /\btc_[^.]*.rb/, /_test\.rb\z/, /\btest\//, /\bvendor\//, /\A#{Regexp.escape(__FILE__)}\z/]
 
     DEFAULT_OPTS = {:ignore =&gt; ignore_files, :sort =&gt; :name, :sort_reverse =&gt; false,
@@ -179,4 +196,4 @@ module Rcov
 
   end
 
-end
\ No newline at end of file
+end</diff>
      <filename>lib/rcov/formatters/base_formatter.rb</filename>
    </modified>
    <modified>
      <diff>@@ -75,19 +75,19 @@ module XX
       return @size - n
     end
 
-    def to_str port = &quot;&quot;
+    def to_str(port = &quot;&quot;)
       @doc.write port, indent=-1, transitive=false, ie_hack=true
       port
     end
     
     alias_method &quot;to_s&quot;, &quot;to_str&quot;
 
-    def pretty port = '' 
+    def pretty(port = '') 
       @doc.write port, indent=2, transitive=false, ie_hack=true
       port
     end
 
-    def create element
+    def create(element)
       push element
       begin
         object = nil</diff>
      <filename>lib/rcov/xx.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a3387268a0cb1ba6b843c5a6de272c40a914ba90</id>
    </parent>
  </parents>
  <author>
    <name>Chad Humphries</name>
    <email>chad@spicycode.com</email>
  </author>
  <url>http://github.com/spicycode/rcov/commit/c0b3fc2635ac59037749956b62acecf584988b2b</url>
  <id>c0b3fc2635ac59037749956b62acecf584988b2b</id>
  <committed-date>2009-05-06T17:26:03-07:00</committed-date>
  <authored-date>2009-05-06T17:26:03-07:00</authored-date>
  <message>Fixing a namespacing issue for Ruby 1.9, and putting in the beginnings of the ERB rendering</message>
  <tree>ec82febcae3217d58d3ce63e491861324627a45e</tree>
  <committer>
    <name>Chad Humphries</name>
    <email>chad@spicycode.com</email>
  </committer>
</commit>
