Sha256: 6589e9bf1ff53e852109dc20bb2951e083650af73cb82437c329998ed940f65b

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

module RuboCop::Git
# similar to https://github.com/thoughtbot/hound/blob/d2f3933/app/models/line.rb
class Line < Struct.new(:content, :line_number, :patch_position)
  def ==(other_line)
    content == other_line.content
  end
end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-git2-0.1.4 lib/rubocop/git/line.rb