Class: HTTPDisk::Grep::CountPrinter
- Defined in:
- lib/httpdisk/grep/printer.rb
Overview
path:count
Constant Summary
Constants inherited from Printer
Instance Attribute Summary
Attributes inherited from Printer
Instance Method Summary collapse
Methods inherited from Printer
Constructor Details
This class inherits a constructor from HTTPDisk::Grep::Printer
Instance Method Details
#print(path, _payload, all_matches) ⇒ Object
52 53 54 |
# File 'lib/httpdisk/grep/printer.rb', line 52 def print(path, _payload, all_matches) output.puts "#{path}:#{all_matches.length}" end |