def line line, num
      begin
        line.strip!
      rescue Exception => ex
        puts "Error ".background(:red) + ex.message
      end
      "#{'%4i' % num}| #{Colorizer::for_line(line, @search_term)}"
    end
def line line, num
      begin
        line.strip!
      rescue Exception => ex
        puts "Error ".background(:red) + ex.message
      end
      "#{'%4i' % num}| #{Colorizer::for_line(line, @search_term)}"
    end
Public:

 search_term - The String or Regexp to look for.
 Public: format a line with matched term(s).

 line - The String line to be displayed.
 num  - The Integer number of the line (in base 1).

 Returns a formatted String.