Class: DiffToHtml::SvnConverter
Instance Attribute Summary
Attributes inherited from Converter
#file_prefix
Instance Method Summary
collapse
Methods inherited from Converter
#composite_to_html, #diffs_to_html, #get_single_file_diff, #get_single_file_diff_body
Instance Method Details
4
5
6
|
# File 'lib/diff_to_html/svn_converter.rb', line 4
def
/^Index: .+/
end
|
#get_filename(header) ⇒ Object
8
9
10
11
12
|
# File 'lib/diff_to_html/svn_converter.rb', line 8
def get_filename()
match = ( =~ /^Index: (.+)/) raise "header '#{}' not matched!" if !match
$1
end
|