class Test::Unit::Diff::Differ

Public Class Methods

new(from, to) click to toggle source
# File test-unit-3.3.4/lib/test/unit/diff.rb, line 265
def initialize(from, to)
  @from = from
  @to = to
end

Private Instance Methods

tag(mark, contents) click to toggle source
# File test-unit-3.3.4/lib/test/unit/diff.rb, line 271
def tag(mark, contents)
  contents.collect {|content| mark + content}
end