7 ms·
Also, importantly, it's not a statement, it's an expression (which is why you see the return value of your read to begin with) This needs to be drilled into th
by jamesbritt 15y ago
Also, importantly, it's not a statement, it's an expression (which is why you see the return value of your read to begin with)
This needs to be drilled into the heads of everyone learning Ruby. Saves much head-scratching later on.
Ruby: Objects, messages, and expressions. (Mostly)