Diff::Display ============= Diff::Display::Unified renders unified diffs into various forms. The output is based on a callback object that's passed into the renderer Rewrite of an (unreleased) library by Marcel Molina Jr., who wrote this it probably back in 2004 or so. Usage ====== irb(main):001:0> require 'diff-display' => true irb(main):002:0> diff = < diff_display = Diff::Display::Unified.new(diff) => # puts diff_display.render(Diff::Renderer::Diff.new) diff --git a/History.txt b/History.txt index 0ed7358..622c384 100644 --- a/History.txt +++ b/History.txt @@ -1,4 +1,5 @@ == 0.0.1 2008-01-28 -* 1 major enhancement: - * Initial release +* 2 major enhancements: + * The Initial release + * stuff added See Diff::Renderer::Base for what methods your callback needs to implement Git Repository =============== http://gitorious.org/projects/diff-display/ License ====== Please see License.txt