Class: Diff::LCS::ContextChange
- Inherits:
-
Object
- Object
- Diff::LCS::ContextChange
- Defined in:
- lib/text_alignment/lcs_min.rb
Overview
change the class definition of ContextChange to allow update of the two instance variables
Instance Attribute Summary collapse
-
#new_position ⇒ Object
Returns the value of attribute new_position.
-
#old_position ⇒ Object
Returns the value of attribute old_position.
Instance Attribute Details
#new_position ⇒ Object
Returns the value of attribute new_position.
8 9 10 |
# File 'lib/text_alignment/lcs_min.rb', line 8 def new_position @new_position end |
#old_position ⇒ Object
Returns the value of attribute old_position.
8 9 10 |
# File 'lib/text_alignment/lcs_min.rb', line 8 def old_position @old_position end |