Forum: RForum How to generate css file

Posted by Luigi (Guest)
on 2007-06-25 18:48
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!
Posted by Shai Rosenfeld (shai)
on 2007-08-07 10:31
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/rd...


shai
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.