to_s is simply the string representation of the object. Before we look at to_str let's see a case where ruby raises error.
確定! 回上一頁