RubyGems Navigation menu

grepper 0.9.0

The Grepper class greps through files, and returns a result set of Grepper::Result objects. Each Result object represents the matches found in a single file. The Result contains a set of Grepper::Match objects. Each Match object represents a line (the line that matched) and before- and after-context arrays. If no before or after lines were requested, those context values will be nil. To use, you prepare a Grepper object; call <tt>run</tt> on it; and walk through the result set.

Versions:

  1. 0.9.3 - January 13, 2009 (11.5 KB)
  2. 0.9.2 - December 24, 2008 (9.5 KB)
  3. 0.9.1 - December 23, 2008 (8.5 KB)
  4. 0.9.0 - December 22, 2008 (7 KB)

Runtime Dependencies:

Development Dependencies:

Authors:

  • David A. Black

Owners:

1fba4539b6cafe2e60a2916fa184fc2f

Total downloads 6,388

For this version 1,531

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'grepper', '~> 0.9.0' = Copy to clipboard Copied!

install:
gem install grepper -v 0.9.0 = Copy to clipboard Copied!

Links: