Classes: Ag, Git
6 7 8 9 10 11 12 13 14 15 16
# File 'lib/test_launcher/search.rb', line 6 def self.searcher(shell) `which ag` implementation = if $?.success? Search::Ag else Search::Git end implementation.new(shell) end