Is it possible to render fragments of Tilt templates (i.e., without using a template file on disk)?
Background: I'd like to render inline template strings in a Ruby CGI program.
Is it possible to render fragments of Tilt templates (i.e., without using a template file on disk)?
Background: I'd like to render inline template strings in a Ruby CGI program.
Yes. You can use any string data:
See more examples in the docs