syswrite

ios.syswrite(string) รข integer
Instance Public methods

Writes the given string to ios using a low-level write. Returns the number of bytes written. Do not mix with other methods that write to ios or you may get unpredictable results. Raises SystemCallError on error.

f = File.new("out", "w")
f.syswrite("ABCDEF")   #=> 6
doc_ruby_on_rails
2015-04-13 14:34:06
Comments
Leave a Comment

Please login to continue.