module PatchesHelper
def display_patches(ary)
"
" +
"" +
"| Program | Title | Options |
" +
"" +
"" +
ary.map {|item| "" + render_partial("patch", item) +
"
"}.join +
"" +
"
"
end
def colorize_patch(patch_version)
require 'syntax/convertors/html'
convertor = Syntax::Convertors::HTML.for_syntax 'diff'
<