Sha256: 50f8b1e9352e8e37f0251fced02f9a3833564c2f364c01dcddf44cb1b224ebd4

Contents?: true

Size: 269 Bytes

Versions: 9

Compression:

Stored size: 269 Bytes

Contents

## create Engine object
require 'tenjin'
engine = Tenjin::Engine.new()

## render template with context data
context = { :title => 'Bordered Table Example',
            :items => [ '<AAA>', 'B&B', '"CCC"' ] }
output = engine.render('table.rbhtml', context)
puts output

Version data entries

9 entries across 5 versions & 1 rubygems

Version Path
tenjin-0.7.1 examples/table/table.rb
tenjin-0.7.1 test/data/examples/table/table.rb
tenjin-0.7.0 test/data/examples/table/table.rb
tenjin-0.7.0 examples/table/table.rb
tenjin-0.6.2 test/data/examples/table/table.rb
tenjin-0.6.2 examples/table/table.rb
tenjin-0.6.0 test/data/examples/table/table.rb
tenjin-0.6.1 test/data/examples/table/table.rb
tenjin-0.6.1 examples/table/table.rb