class RSpecJUnitFormatter

def xml_dump_examples

def xml_dump_examples
  examples.each do |example|
    case result_of(example)
    when :pending
      xml_dump_pending(example)
    when :failed
      xml_dump_failed(example)
    else
      xml_dump_example(example)
    end
  end
end