Search code examples
rubyputs

What is "ios" in the Ruby documentation for puts?


iOS has cluttered up getting good search results for this question. The Ruby docs for puts say that it

writes the given object(s) to ios.

What is "ios". My best guess is that it is "input/output stream" but not sure if that makes sense or not.


Solution

  • Your guess is absolutely right. Here is a paragraph in which both terms ios and I/O streams are used: https://ruby-doc.org/core-2.5.0/IO.html#method-i-close I hope you find that helpful.