Sha256: 8824be2a56acedac01158ae25d053bffdf0f8808d3e034c0e5da26ee8a215b72
Contents?: true
Size: 490 Bytes
Versions: 75
Compression:
Stored size: 490 Bytes
Contents
<% if children(file).any? %> <ul> <% children(file).each do |child| css_class = File.directory?(child) ? 'folder' : File.extname(child) == '' ? 'file unknown' : 'file ' + File.extname(child)[1..-1] -%> <li class="<%= css_class %>"><span class="filename"><%= File.basename(child) -%></span> <% if File.file?(child) %> <%= pygmentize(child) %> <% end %> <% again(erb, _erbout, child) -%> </li> <% end -%> </ul> <% end -%>
Version data entries
75 entries across 75 versions & 6 rubygems