def self.write(filename, data, mode = "w")
open(filename, mode) do |file|
File.write("/tmp/test", "Hello world!")
This page was created on 2006-09-18
and is filed under Ruby.
if you have any comments,
perhaps by email?
Go to the home page for more content.