Class: RuboCop::Git::Line
- Inherits:
-
Struct
- Object
- Struct
- RuboCop::Git::Line
- Defined in:
- lib/rubocop/git/line.rb
Overview
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#line_number ⇒ Object
Returns the value of attribute line_number.
-
#patch_position ⇒ Object
Returns the value of attribute patch_position.
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
3 4 5 |
# File 'lib/rubocop/git/line.rb', line 3 def content @content end |
#line_number ⇒ Object
Returns the value of attribute line_number
3 4 5 |
# File 'lib/rubocop/git/line.rb', line 3 def line_number @line_number end |
#patch_position ⇒ Object
Returns the value of attribute patch_position
3 4 5 |
# File 'lib/rubocop/git/line.rb', line 3 def patch_position @patch_position end |
Instance Method Details
#==(other_line) ⇒ Object
4 5 6 |
# File 'lib/rubocop/git/line.rb', line 4 def ==(other_line) content == other_line.content end |