Internally puts sends the message to_s to the person object in order to render it as a string. As our Person class doesn't override to_s, puts simply writes the ...
確定! 回上一頁