Class: Diff::LCS::ContextChange

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#new_positionObject

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_positionObject

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