Method: HTMLDiff::DiffBuilder#equal

Defined in:
lib/junebug/ext/diff.rb

#equal(operation) ⇒ Object



184
185
186
187
# File 'lib/junebug/ext/diff.rb', line 184

def equal(operation)
  # no tags to insert, simply copy the matching words from one of the versions
  @content += @new_words[operation.start_in_new...operation.end_in_new]
end