File: examples.haml

package info (click to toggle)
ruby-compass 0.12.2~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 8,308 kB
  • sloc: ruby: 10,474; makefile: 42; xml: 14
file content (7 lines) | stat: -rw-r--r-- 229 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
- if (examples = examples(@item)).any?
  %h2 Examples
  %dl.examples
    - examples.each do |example|
      %dt= link_to example.item[:title], example
      - if example.item[:description]
        %dd= example.item[:description]