D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
IO
/
Filename :
syswrite-i.ri
back
Copy
U:RDoc::AnyMethod[iI" syswrite:ETI"IO#syswrite;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"VWrites the given +object+ to self, which must be opened for writing (see Modes); ;TI"'returns the number bytes written. ;TI">If +object+ is not a string is converted via method to_s:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I" f = File.new('t.tmp', 'w') ;TI"f.syswrite('foo') # => 3 ;TI"f.syswrite(30) # => 2 ;TI"f.syswrite(:foo) # => 3 ;TI" f.close ;T:@format0o; ; [I"FThis methods should not be used with other stream-writer methods.;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"!syswrite(object) -> integer ;T0[ I" (p1);T@FI"IO;TcRDoc::NormalClass00