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
new
(object1, object2, options={})
Public Instance methods
diff1
()
diff2
()
to_s
()
[Validate]