Tamale

Tamale is a DSL for generating HTML.

Installation

For use with bundler, add this line to your application's Gemfile:

gem 'tamale'

And then run bundle from the command line:

$ bundle

Usage

template = Tamale.new { |title|
  div(id: 'app') {
    h1 { text title }
  }
}

template.render('Hot Tamale!')