class DiffToHtml::SvnConverter
Public Instance Methods
file_header_pattern()
click to toggle source
# File lib/diff_to_html/svn_converter.rb, line 3 def file_header_pattern /^Index: .+/ end
get_filename(header)
click to toggle source
# File lib/diff_to_html/svn_converter.rb, line 7 def get_filename(header) match = (header =~ /^Index: (.+)/) #if we use this pattern file_header_pattern files split doesn't work raise "header '#{header}' not matched!" if !match $1 end