add_line_numbers (Generators::HtmlMethod)

    # File lib/generators/templates/application/merb_stack/doc/rdoc/generators/merb_generator.rb, line 1094
            def add_line_numbers(src)
                if src =~ /\A.*, line (\d+)/
                    first = $1.to_i - 1
                    last  = first + src.count("\n")
                    size = last.to_s.length
                    real_fmt = "%#{size}d: "
                    fmt = " " * (size+2)
                    src.gsub!(/^/) do
                        res = sprintf(fmt, first)
                        first += 1
                        fmt = real_fmt
                        res
                    end
                end
            end