Sha256: 1dd771a48e10a2908ddc1a6fcfad92f8b9249a6f26509c5011d1bc1c5101baf2
Contents?: true
Size: 401 Bytes
Versions: 6
Compression:
Stored size: 401 Bytes
Contents
# frozen_string_literal: true include T('default/layout/html') def layout @nav_url = url_for_list((defined?(@file) && @file) ? 'file' : 'class') @path = if !object || object.is_a?(String) nil elsif defined?(@file) && @file @file.path elsif !object.is_a?(YARD::CodeObjects::NamespaceObject) object.parent.path else object.path end erb(:layout) end
Version data entries
6 entries across 6 versions & 1 rubygems