class Test::Unit::Diff::Differ

Public Class Methods

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

Private Instance Methods

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