Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (14 sloc) 0.49 kB
<% 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 -%>
Jump to Line
Something went wrong with that request. Please try again.