Sha256: 6745291ea26795da3d9479bd9f119ad2483b2f708a4667cd3dade4d7c48393c6
Contents?: true
Size: 522 Bytes
Versions: 30
Compression:
Stored size: 522 Bytes
Contents
include T('default/layout/html') def init super @topfile = options[:readme] @toptitle = options[:readme].attributes[:title] || "Documentation Overview" 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 def diskfile options[:including_object] = @object super end
Version data entries
30 entries across 30 versions & 4 rubygems