print will convert a non-string object to a string using the object's to_s method - shorthand for “to string”. To customize how Ruby displays a Person object in ...
確定! 回上一頁