So, all object in Ruby has method to_s . In case of to_str method not all objects implement it. When we try to call it on array we will get an exception:.
確定! 回上一頁