    # File lib/yard/templates/helpers/method_helper.rb, line 54
          def format_code(object, show_lines = false)
            i = -1
            lines = object.source.split(/\n/)
            longestline = (object.line + lines.size).to_s.length
            lines.map do |line|
              lineno = object.line + (i += 1)
              (" " * (longestline - lineno.to_s.length)) + lineno.to_s + "    " + line
            end.join("\n")
          end