Flowdock
method

add_line_numbers

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: RDoc::AnyMethod
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, line numbers are added an ‘, line dddd’ is removed.

Show source
Register or log in to add new notes.