D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
IO
/
Filename :
print-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Writes the given object(s) to <em>ios</em>. The stream must be opened for writing. If the output record separator (<tt>$\</tt>) is not <tt>nil</tt>, it will be appended to the output. If no arguments are given, prints <tt>$_</tt>. Objects that aren't strings will be converted by calling their <tt>to_s</tt> method. With no argument, prints the contents of the variable <tt>$_</tt>. Returns <tt>nil</tt>. - !ruby/struct:SM::Flow::VERB body: " $stdout.print("This is ", 100, " percent.\\n")\n" - !ruby/struct:SM::Flow::P body: <em>produces:</em> - !ruby/struct:SM::Flow::VERB body: " This is 100 percent.\n" full_name: IO#print is_singleton: false name: print params: | ios.print() => nil ios.print(obj, ...) => nil visibility: public