📜  整数到字符串 ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:48.754000             🧑  作者: Mango

代码示例1
my_int = 69
my_int_to_string = my_int.to_s

puts my_int.class # Integer
puts my_int_to_string.class # String