method
<<
<<(p1)
public
<a href="/ruby/String">String</a> Output—Writes obj to ios. obj will be converted to a string using to_s.
$stdout << "Hello " << "world!\n"
produces:
Hello world!
<<(p1)
public
<a href="/ruby/String">String</a> Output—Writes obj to ios. obj will be converted to a string using to_s.
$stdout << "Hello " << "world!\n"
produces:
Hello world!