-
An Example of an ERB Component
An example of building an "ERB component", that is, an ERB partial that has ansome flexibility around their HTML output articulated via an interface in the
Continue reading …render
call. -
A function for generating HTML attribute values
How might I write a function that was as flexible as possible in its type signature, and yet still predictable and sane in its output of HTML attribute values?
Continue reading … -
Accessing Values from Nested Hashes
How can you access values from a nested (i.e. multidimensional) hash without throwing errors when the shape of the hash is not strictly fixed?
Continue reading …