I'm learning Ruby
Okay. To the point. I'm making a script that will repitively write out HTML tags...
Like a for-loop. It serves no real purpose, but I'm trying to figure out how to do it.
This is what I have
It appears as normal text? Why won't it interpret the Ruby code?Code:<% innertext = "Hello World!" tag = "<i>"+innertext+"</i>\n" max = 4 print(innertext*max) %>




Reply With Quote
) I'll try rhtml.



Bookmarks