Sha256: 441687b6d12807238309f45c9ccbaf2699fb081006d1cf549595f69b2a5e671b
Contents?: true
Size: 569 Bytes
Versions: 38
Compression:
Stored size: 569 Bytes
Contents
include T('default/layout/html') def init super @topfile = options.readme if options.files if @topfile @toptitle = @topfile.attributes[:title] || "Documentation Overview" end if @file == options.readme @page_title = options.title else @page_title = @file.title end index = options.files.index(@file) if index @prevfile = index > 0 ? (options.files[index - 1] || options.readme) : nil @nextfile = options.files[index + 1] end end end def diskfile options.including_object = @object super end
Version data entries
38 entries across 33 versions & 7 rubygems