Displaying 1 result from an estimated 1 matches for "render_yaml".
Did you mean:
readeryaml
2006 Jul 24
0
HTML YAML Builder
...gt;
<li>Second</li>
</ul>
</body>
</html>
Just a trivial example.
A YAML Builder would support ERB, and potentially serve as an
alternative for RHTML (or perhaps just a way to create partials that
could be loaded with render :yaml => "partial" or render_yaml
"partial"). I would create a .to_html extension for hashes that would
take the hash returned by YAML.load and convert it to HTML.
Note that I used YAML''s "!" to indicate attributes. Also note that the
particulars of the implementation are not set in stone yet. I'...