lib/rubygems/comparator/report.rb in gem-compare-0.0.7 vs lib/rubygems/comparator/report.rb in gem-compare-1.0.0

- old
+ new

@@ -54,11 +54,11 @@ set_parent parent_section if parent_section end def section(&block) - instance_eval &block + instance_eval(&block) end def set_header(message) @header = Entry.new(message) end @@ -120,10 +120,9 @@ private def set_parent(parent) parent.sections << self @level = parent.level + 1 - parent_section = parent end end end end