Method: Git::Object::AbstractObject#grep

Defined in:
lib/git/object.rb

#grep(string, path_limiter = nil, opts = {}) ⇒ Object



53
54
55
56
# File 'lib/git/object.rb', line 53

def grep(string, path_limiter = nil, opts = {})
  opts = {:object => sha, :path_limiter => path_limiter}.merge(opts)
  @base.lib.grep(string, opts)
end