Class: HTTPDisk::Grep::Printer

Inherits:
Object
  • Object
show all
Defined in:
lib/httpdisk/grep/printer.rb

Constant Summary collapse

GREP_COLOR =
"37;45".freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output) ⇒ Printer

Returns a new instance of Printer.



8
9
10
# File 'lib/httpdisk/grep/printer.rb', line 8

def initialize(output)
  @output = output
end

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output.



6
7
8
# File 'lib/httpdisk/grep/printer.rb', line 6

def output
  @output
end

Instance Method Details



12
13
# File 'lib/httpdisk/grep/printer.rb', line 12

def print(path, payload, all_matches)
end