benchmark/slim/view.slim

Summary

Maintainability
Test Coverage
doctype html
html
  head
    title Simple Benchmark
  body
    h1 = header
    - unless item.empty?
      ul
        - for i in item
          - if i[:current]
            li
              strong = i[:name]
          - else
            li
              a href=i[:url] = i[:name]
    - else
      p The list is empty.