123456789_123456789_123456789_123456789_123456789_

Class: Test::Unit::Diff::Differ

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Inherits: Object
Defined in: lib/test/unit/diff.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(from, to) ⇒ Differ

[ GitHub ]

  
# File 'lib/test/unit/diff.rb', line 265

def initialize(from, to)
  @from = from
  @to = to
end

Instance Method Details

#tag(mark, contents) (private)

[ GitHub ]

  
# File 'lib/test/unit/diff.rb', line 271

def tag(mark, contents)
  contents.collect {|content| "#{mark}#{content}"}
end