Ruby &.方法

更新: 完成内容,删除[TODO]并更新标题

 

&.each

Obj&.method obj为nil时整体返回nil,没有&的报错

posted @ 2017-10-16 15:24  懒虫哥哥  阅读(64)  评论(0编辑  收藏  举报