类 Test::Unit::Diff::Differ
公共类方法
new(from, to) 点击切换源代码
# File test-unit-3.6.7/lib/test/unit/diff.rb, line 264 def initialize(from, to) @from = from @to = to end
私有实例方法
tag(mark, contents) 点击切换源代码
# File test-unit-3.6.7/lib/test/unit/diff.rb, line 270 def tag(mark, contents) contents.collect {|content| mark + content} end