D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
IO
/
Filename :
puts-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Writes the given objects to <em>ios</em> as with <tt>IO#print</tt>. Writes a record separator (typically a newline) after any that do not already end with a newline sequence. If called with an array argument, writes each element on a new line. If called without arguments, outputs a single record separator. - !ruby/struct:SM::Flow::VERB body: " $stdout.puts("this", "is", "a", "test")\n" - !ruby/struct:SM::Flow::P body: <em>produces:</em> - !ruby/struct:SM::Flow::VERB body: " this\n is\n a\n test\n" full_name: IO#puts is_singleton: false name: puts params: | ios.puts(obj, ...) => nil visibility: public