Method: Diff::LCS::Change#action

Defined in:
lib/watobo/external/diff/lcs/change.rb

#actionObject (readonly)

Returns the action this Change represents. Can be ‘+’ (#adding?), ‘-’ (#deleting?), ‘=’ (#unchanged?), # or ‘!’ (#changed?). When created by Diff::LCS#diff or Diff::LCS#sdiff, it may also be ‘>’ (#finished_a?) or ‘<’ (#finished_b?).



73
74
75
# File 'lib/watobo/external/diff/lcs/change.rb', line 73

def action
  @action
end