Sha256: 20b0105ded9d571813f69abd65bb7d8f7582a1d86fa1830e0454fe88ac6842cb

Contents?: true

Size: 694 Bytes

Versions: 55

Compression:

Stored size: 694 Bytes

Contents

%div
  %h1 I can count!
  - (1..20).each do |i|
    = i
  %h1 I know my ABCs!
  %ul
    - ('a'..'z').each do |i|
      %li= i
  %h1 I can catch errors!
  - begin
    - raise "foo"
  - rescue RuntimeError => e
    = "Oh no! \"#{e}\" happened!"
  %p
    "false" is:
    - if false
      = "true"
    - else
      = "false"
  - if true
    - 5.times do |i|
      - if i % 2 == 1
        Odd!
      - else
        Even!
    - unless true
      Testing else indent
    - case 1
    - when 2
      Also testing else indent
  - else
    = "This can't happen!"
- 13 |
.foo
  %strong foobar
- 5.times   |
    do      |
      |a|   |
  %strong= a
.test
  - "foo  |
     bar  |
     baz" |
    
  %p boom

Version data entries

55 entries across 55 versions & 9 rubygems

Version Path
brakeman-4.3.1 bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-4.3.0 bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-4.2.1 bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-4.2.0 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-4.1.1 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-4.1.0 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-4.0.1 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-4.0.1.pre1 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-4.0.0 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-3.7.2 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-3.7.1 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-3.7.0 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-3.6.2 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
haml-5.0.0 test/templates/silent_script.haml
brakeman-3.6.1 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
brakeman-3.6.0 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
haml-5.0.0.beta.2 test/templates/silent_script.haml
brakeman-3.5.0 bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml
arcabouco-0.2.13 vendor/bundle/gems/haml-4.0.7/test/templates/silent_script.haml