几个Ruby小技巧分享 代码块的序列调用 复制代码 代码如下: def touch_down yield [3, 7] puts "touchdown! " end Ruby编程 2022-04-08 65 点赞 0 评论 98 浏览