method
add_line_numbers
v2_1_10 -
Show latest stable
- Class:
RDoc::MethodAttr
add_line_numbers(src)public
Prepend src with line numbers. Relies on the first line of a source code listing having:
# File xxxxx, line dddd
If it has this comment then line numbers are added to src and the , line dddd portion of the comment is removed.