--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Writes the given object(s) to ios. The stream must be opened for writing. If the output record separator ($\) is not nil, it will be appended to the output. If no arguments are given, prints $_. Objects that aren't strings will be converted by calling their to_s method. With no argument, prints the contents of the variable $_. Returns nil.
- !ruby/struct:SM::Flow::VERB
body: " $stdout.print("This is ", 100, " percent.\\n")\n"
- !ruby/struct:SM::Flow::P
body: produces:
- !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