Ruby Reference
The API is now documented once per topic, with a Ruby tab on every example.
| Page | Covers |
|---|---|
| Parsing | Reading HTML+ERB into a syntax tree, parser options, errors |
| Lexing | Tokenizing without building a tree |
| Extracting Ruby and HTML | Pulling one language out of a template |
| Working with the tree | Visitors, locating a node, what a node carries |
| Versions | Which Herb and Prism a binding is running |
Herb Ruby Bindings covers installing and loading it, and anything specific to Ruby.