Luoma - Ruby

A modern template engine with a well-defined, composable, implementation agnostic expression language.

GitHub License Tests
Gem Version Static Badge

Table of Contents

Install

Add 'luoma' to your Gemfile:

gem 'luoma', '~> 0.1.0'

Or

gem install luoma

Or

bundle add luoma

Example

require "luoma"

template = Luoma.parse("Hello, {{ you }}!")
puts template.render("you" => "World")  # Hello, World!
puts template.render("you" => "Luoma")  # Hello, Luoma!

License

The gem is available as open source under the terms of the MIT License.