Sha256: 8fd9268b2432cbc77c1016ca4555af4918dfb8b1a69f5be7fc0e899b3274bc83
Contents?: true
Size: 391 Bytes
Versions: 1
Compression:
Stored size: 391 Bytes
Contents
module Toothpick class Search def initialize(picks_dir, string) # Works only with the_silver_searcher for now unless `cd #{picks_dir} && ag --version`.nil? space_separated_filenames = `ag -l #{string}`.split.join(' ') unless space_separated_filenames.empty? system("$EDITOR #{space_separated_filenames}") end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
toothpick-0.0.2 | lib/toothpick/search.rb |