Sha256: f859c5ac976778e8e18daccb3124dc66620899c1b0d44502b90e0c0aab3a02b6

Contents?: true

Size: 841 Bytes

Versions: 11

Compression:

Stored size: 841 Bytes

Contents

= h("&&&&&&&&&&&") # This is an ActionView Helper... should load
- foo = capture do # This ActionView Helper is designed for ERB, but should work with HAML
  %div
    %p.title Title
    %p.text
      Woah this is really crazy
      I mean wow,
      man.
- 3.times do
  = foo
%p foo
- tab_up
%p reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeally loooooooooooooooooong
- tab_down
.woah
  #funky
    = capture_haml do
      %div
        %h1 Big!
        %p Small
        / Invisible
    = capture do
      .dilly
        %p foo
        %h1 bar
  = surround '(', ')' do
    %strong parentheses!
= precede '*' do
  %span.small Not really
click
= succeed '.' do
  %a{:href=>"thing"} here
%p baz
- buffer.tabulation = 10
%p boom
- concat "foo\n"
- buffer.tabulation = 0
= list_of({:google => 'http://www.google.com'}) do |name, link|
  %a{ :href => link }= name

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
haml-1.0.4 test/templates/helpers.haml
haml-1.0.0 test/templates/helpers.haml
haml-1.0.2 test/templates/helpers.haml
haml-1.0.1 test/templates/helpers.haml
haml-1.0.3 test/templates/helpers.haml
haml-1.0.5 test/templates/helpers.haml
typo-4.1.1 vendor/plugins/haml/test/templates/helpers.haml
typo-5.0.1 vendor/plugins/haml/test/templates/helpers.haml
typo-5.0.2 vendor/plugins/haml/test/templates/helpers.haml
typo-4.1 vendor/plugins/haml/test/templates/helpers.haml
typo-5.0 vendor/plugins/haml/test/templates/helpers.haml