What Is the Difference Between a Block, a Proc, and a Lambda in Ruby
原文链接:http://awaxman11.github.io/blog/2013/08/05/what-is-the-difference-between-a-block/感觉写的很清晰易懂,虽然不一定全面,但是我感觉还是蛮不错的,转载了下。What are blocks, procs, and lambdas?Coder Talk: Examples of clos
转载
2015-05-17 21:21:59 ·
958 阅读 ·
0 评论