最佳答案
在 Ruby 中有没有一种方法可以将所有的数组元素组合成一个字符串?
示例数组:
@arr = ['<p>Hello World</p>', '<p>This is a test</p>']
示例输出:
<p>Hello World</p><p>This is a test</p>