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

Version Path
aruba-0.14.14 templates/files.erb
aruba-0.14.13 templates/files.erb
aruba-0.14.12 templates/files.erb
aruba-0.14.11 templates/files.erb
aruba-0.14.10 templates/files.erb
aruba-0.14.9 templates/files.erb
aruba-0.14.8 templates/files.erb
aruba-0.14.7 templates/files.erb
aruba-0.14.6 templates/files.erb
aruba-0.14.5 templates/files.erb
aruba-0.14.4 templates/files.erb
aruba-0.14.3 templates/files.erb
aruba-win-fix-0.14.2 templates/files.erb
aruba-0.14.2 templates/files.erb
aruba-0.14.1 templates/files.erb
aruba-0.14.0 templates/files.erb
aruba-0.13.0 templates/files.erb
aruba-0.12.0 templates/files.erb
aruba-0.11.2 templates/files.erb
aruba-0.11.1 templates/files.erb