diff (Diff::LCS::Hunk)

         # File lib/diff/lcs/hunk.rb, line 101
    101:   def diff(format)
    102:     case format
    103:     when :old
    104:       old_diff
    105:     when :unified
    106:       unified_diff
    107:     when :context
    108:       context_diff
    109:     when :ed
    110:       self
    111:     when :reverse_ed, :ed_finish
    112:       ed_diff(format)
    113:     else
    114:       raise "Unknown diff format #{format}."
    115:     end
    116:   end