class Grit::Grep

Attributes

content[R]
filename[R]
is_binary[R]
repo[R]
startline[R]

Public Class Methods

new(repo, filename, startline, content, is_binary) click to toggle source
# File lib/grit/grep.rb, line 11
def initialize(repo, filename, startline, content, is_binary)
  @repo   = repo
  @filename = filename
  @startline = startline.to_i
  @content = content
  @is_binary = is_binary
end