From: Justin Collins Date: 2009-11-05T13:55:02+09:00 Subject: Re: Create HTML files using RUBY Krithika San wrote: > I am sorry I was not clear in my previous reply. I am told not to use > Rails or rather not implementing Web Framework. > > My previous project was to create elements like text and table, edit > them in memory and then write them into a file. This is an extension of > it where I need to provide HTML support. > I need to provide options for changing the color of text, font change > and then create tables with rows having diferent colors. > > Thanks, > Krithika > What you are trying to do is still unclear to me, but the CGI library included with Ruby probably does what you need, if you are not allowed to use any external libraries. http://ruby-doc.org/stdlib/libdoc/cgi/rdoc/classes/CGI/HtmlExtension.html -Justin