Categories: None [Edit]

grepper

https://rubygems.org/gems/grepper
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.

Total

Ranking: 57,631 of 183,107
Downloads: 16,624

Daily

Ranking: 28,793 of 183,092
Downloads: 5

Depended by

RankDownloadsName

Depends on

RankDownloadsName
2,0868,574,300hoe

Owners

#GravatarHandle
1icondblack