Ruby 1.9 compatibility of unified_diff.rb.
Authored by: tmaruyama 2011-02-21
Parent: [r4896]
Child: [r4898]