摘要: • In Ruby’s object-oriented world, we work with objects and methods. Unlike VB .NET, where some subroutines return a value (Functions) and others do not (Subs), all Ruby methods must return a value. When an explicit return statement is not used, the last-evaluated expression automatically becomes th 阅读全文
posted @ 2012-07-25 20:47 2012 阅读(385) 评论(0) 推荐(0) 编辑