我想要返回一个字符串'x'次.我目前的代码
return str + str + str + str
我该怎么做才能让它看起来像
return 4 * str
ruby string return append
append ×1
return ×1
ruby ×1
string ×1