lib/rubocop/git/line.rb in rubocop-git2-0.1.4 vs lib/rubocop/git/line.rb in rubocop-git2-0.1.5

- old
+ new

@@ -1,8 +1,6 @@ -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 +RuboCop::Git::Line = Struct.new(:content, :line_number, :patch_position) do + def ==(other) + content == other.content end -end end