源代码:
#!/usr/bin/ruby names = Array.new(4, "mac") puts "#{names}"
运行结果:
#!/usr/bin/ruby names = Array.new(4, "mac") puts "#{names}"