Module: Test::Diff
- Defined in:
- lib/test-unit-ext/diff.rb
Defined Under Namespace
Classes: Differ, SequenceMatcher
Class Method Summary
collapse
Class Method Details
.ndiff(from, to) ⇒ Object
183
184
185
|
# File 'lib/test-unit-ext/diff.rb', line 183
def ndiff(from, to)
Differ.new(from, to).compare.join("\n")
end
|