Repository navigation
v0.2.0
Highlights
- View context bridging — helpers from the surrounding app (Sinatra
session,params, custom helpers) are callable inside DSL blocks templateblocks — components without arendermethod- String block returns —
div { task.title }appends escaped content data:/aria:flattening —data: { toggle: "x" }→data-toggle="x"- URL sanitizing —
javascript:/vbscript:/non-imagedata:rewritten to#in URL attributes (Rendry.sanitize_urls = falseto opt out) - Thread safety — fragment/cache state isolated per thread;
Rendry::Cacheis mutex-guarded - Performance —
Setlookups for void/boolean attributes
Install: gem install rendry — also on rubygems.org/gems/rendry