Sha256: 9f1ada1a3c2796b6726c391db4b19b112050fbc323202b89463b0b1450cf600e

Contents?: true

Size: 204 Bytes

Versions: 1

Compression:

Stored size: 204 Bytes

Contents

def init
  sections :a, [:b, [:c, :d]]
end

def a
  '[' + yield(:foo => 'FOO') + ']'
end

def b
  foo + yieldall(:foo => 'BAR', :bar => 'BAR')
end

def c
  foo
end

def d
  bar
end

# expected [FOOBARBAR]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tadpole-0.1.7 spec/examples/yield/1/setup.rb