class HTTPDisk::Grep::HeaderPrinter

header, then each match

Attributes

head[R]
printed[R]

Public Class Methods

new(output, head) click to toggle source
Calls superclass method HTTPDisk::Grep::Printer::new
# File lib/httpdisk/grep/printer.rb, line 60
def initialize(output, head)
  super(output)
  @head = head
  @printed = 0
end

Public Instance Methods

print(path, payload, all_matches) click to toggle source