Luoma - Ruby
A modern template engine with a well-defined, composable, implementation agnostic expression language.
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!
Links
- Documentation: https://jg-rp.github.io/luoma-ruby/
- Change log: https://github.com/jg-rp/luoma-ruby/blob/main/CHANGELOG.md
- RubyGems: https://rubygems.org/gems/luoma
- Source code: https://github.com/jg-rp/luoma-ruby
- Issue tracker: https://github.com/jg-rp/luoma-ruby/issues
License
The gem is available as open source under the terms of the MIT License.