Class ANSI::Diff
In: lib/ansi/diff.rb
Parent: Object

Diff can produced a colorized difference of two string or objects.

Methods

diff1   diff2   new   to_s  

Constants

COLORS = [:red, :yellow, :magenta]   Rotation of colors for diff output.

Public Class methods

Public Instance methods

[Validate]