No commit activity in last 3 years
No release in over 3 years
A Ruby Searcher bindings for ag, ack, grep and etcs.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

The ruby searcher

Simple ruby bindings for ag, ack, grep, etc.

Requires ruby 1.9+.


###Installation

gem install the_ruby_searcher

or add 'the_ruby_searcher' to your gem file. use

bundle install

###Recomended Engine silver searcher

###Usage

require 'the_ruby_searcher'	
rs = Ag.search(pattern, file_path, [engine], lno)

with lno: true 
=> {line_no => line}

with lno: false (default)
=> [line]