Class: Ast::Merge::DiffMapperBase::DiffLine
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::DiffMapperBase::DiffLine
- Defined in:
- lib/ast/merge/diff_mapper_base.rb
Overview
Represents a single line in a diff hunk
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#new_line_num ⇒ Object
Returns the value of attribute new_line_num.
-
#old_line_num ⇒ Object
Returns the value of attribute old_line_num.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
35 36 37 |
# File 'lib/ast/merge/diff_mapper_base.rb', line 35 def content @content end |
#new_line_num ⇒ Object
Returns the value of attribute new_line_num
35 36 37 |
# File 'lib/ast/merge/diff_mapper_base.rb', line 35 def new_line_num @new_line_num end |
#old_line_num ⇒ Object
Returns the value of attribute old_line_num
35 36 37 |
# File 'lib/ast/merge/diff_mapper_base.rb', line 35 def old_line_num @old_line_num end |
#type ⇒ Object
Returns the value of attribute type
35 36 37 |
# File 'lib/ast/merge/diff_mapper_base.rb', line 35 def type @type end |