How to generate css file

Is it possibile to create with ruby css file to write in
public/stylesheets?
Obviously the name of the css file is variable and the internal
formatting is almost the same.

Thanks!

Luigi wrote:

Is it possibile to create with ruby css file to write in
public/stylesheets?
Obviously the name of the css file is variable and the internal
formatting is almost the same.

Thanks!

you can use the FileUtils class to create a file. no problem at all:

http://www.ruby-doc.org/stdlib/libdoc/fileutils/rdoc/index.html

shai