Sha256: aa55f15a6c623abf063c72c308ef31a063fb96d18d0d8b1c627b7b648e5c17f4
Contents?: true
Size: 408 Bytes
Versions: 10
Compression:
Stored size: 408 Bytes
Contents
# frozen_string_literal: true def replace_sidebar(file) html = File.read(file) files_html = <<-HTML <span><a target="_self" href="file_list.html"> Files </a></span> HTML index = html.index(files_html) html.insert(index + files_html.length, '<!--od--><span><a target="_self" href="version_list.html">Versions</a></span><!--eod-->') File.write(file, html) end
Version data entries
10 entries across 10 versions & 1 rubygems