Method: Count#process_end
- Defined in:
- lib/glark/output/count.rb
#process_end(lnum) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/glark/output/count.rb', line 19 def process_end lnum if @invert_match write_count @file.get_lines.size - @count elsif matched? write_count @count end end |