RubyGems Navigation menu

grepper 0.9.2

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. This distribution comes with the Grepper::Formatter class, which is built on top of Grepper and provides fairly canonical-looking output by walking through Grepper objects. (See <tt>lib/formatter.rb</tt>.) Meanwhile, here are the details.

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 0.9.3 - January 13, 2009* (11,5 ko)
  2. 0.9.2 - December 24, 2008* (9,5 ko)
  3. 0.9.1 - December 23, 2008* (8,5 ko)
  4. 0.9.0 - December 22, 2008* (7 ko)

Dépendances de Development (1):

hoe >= 1.8.2

Propriétaires:

Auteurs:

  • David A. Black

Total de contrôle SHA 256:

b4c2f02fe4a692621f8373f7c1a5e45c08b76a632615fbeef36f86dfebb67a55

Total de téléchargements 16 151

Pour cette version 3 809

License:

aucune

Version de Ruby requise: None

Liens: