Class: ProjectRepoSearcher
- Inherits:
-
Object
- Object
- ProjectRepoSearcher
- Defined in:
- lib/project_repo_searcher.rb
Instance Method Summary collapse
Instance Method Details
#search(query) ⇒ Object
2 3 4 5 6 |
# File 'lib/project_repo_searcher.rb', line 2 def search(query) finds = `git grep "#{query}" $(git rev-list --all)` puts finds finds end |