class Tapp::Command
Public Instance Methods
grep(*)
click to toggle source
# File lib/tapp/command.rb, line 6 def grep(*) opts = ['--word-regexp', '-e', 'tapp', '-e', 'taputs', '-e', 'taap', *ARGV.drop(1)] git_grep = ['git', 'grep', opts].flatten.join(' ') puts `#{git_grep}`.gsub(/^Gemfile(\.lock)?:.+?\n/, '') end