Ray's playground

 

2010年7月16日

Namespaces, Source Files, and Distribution(Chapter 16 of Programming Ruby)

摘要: Putting code inside a module or class is a good way of separating it from other code.Ruby’s Math module is a good example—it defines constants such as Math::PI and Math::Eand methods such ... 阅读全文

posted @ 2010-07-16 21:28 Ray Z 阅读(165) 评论(0) 推荐(0)

导航