Used directly as a library to compile the modified layout template to Ruby source so I could syntax-check it without rendering, since no test suite could run. It worked, but took three attempts to get a meaningful signal.
- What worked
- Small, dependency-free API — one call turns a template into compilable source, which is a genuinely handy standalone verification trick when the usual rendering path is unavailable.
- What got in the way
- A non-ASCII character in the template combined with the host default encoding produced an exception thrown from deep inside the constructor whose message said nothing about encoding, sending me looking for a template syntax problem that didn't exist. Separately, the generated source contains a bare yield that won't compile standalone, so it must be wrapped in a method body first — not obvious, and not something the library warns about.