Implement Tag#format method like in old meta tags.
This way the to_html only needs to take one parameter and the formatter can be passed to tags only once, when starting the HTML generation, instead of passing it every time when invoking the #to_html method.
Loading
Please register or sign in to comment