require_relative 'base_formatter' class HTMLFormatter < BaseFormatter def initialize(pReport) super(pReport) end def process puts "" puts "Checking Machines" puts "" puts "

Checking Machines v0.4

" puts '' puts "" puts "" puts "" counter=0 @datagroups.each do |i| counter+=1 puts "" puts "" puts "" end puts "
MembersGradeFails
"+i.head[:members]+""+i.tail[:grade].to_s+""+i.tail[:fail_counter].to_s+"
" puts "

Cases

" counter=0 @datagroups.each do |i| counter+=1 process_datagroup(i,counter) end puts '' puts "" end def process_datagroup(pGroup, pCounter) puts "

Case members "+@head[:members]+" (up)

" puts "" puts "" puts "" puts "" puts '' puts '
ParamsResults
    " pGroup.head.each do |key,value| puts "
  • "+key.to_s+"= "+value.to_s+"
  • " if key!=:members end puts "
    ' pGroup.tail.each do |key,value| puts "
  • "+key.to_s+"= "+value.to_s+"
  • " end puts '
' puts '

Test log

' puts '' end end