|
Nice article. I could even understand it without ever having worked with Ruby!
Trying the examples I found 2 syntax errors in the xhtml.rb file:
- the double quotes before 'text/css' in: x.style( "type"=>text/css" ) .....
- the double quotes after '' x.p { |y| y <<"Methods of interest from <code<Builder::XmlMarkup</code>
Add them and the example works fine!
|