How to create a text file and write some data in this text file within a ruby script ?
For exemple, for the density, I wish to modify the density script to write the density of active, poly and each metal layers in a text file.
Thanks, Regards,
OkGuy
Comments
Hi,
you can use the usual Ruby classes and methods to do that. That is a well documented feature. A brief introduction can be found here for example: http://alvinalexander.com/blog/post/ruby/how-write-text-to-file-ruby-example.
Matthias