`
orcl_zhang
  • 浏览: 234324 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Metaprogramming Ruby

    博客分类:
  • ruby
阅读更多
P30
In a sense, the class keyword in Ruby is more like a scope operator than
a class declaration.
分享到:
评论
1 楼 Hooopo 2011-09-30  
Ruby MetaProgramming is all about self, scope and definee.
class == Class.new
module == Module.new

相关推荐

Global site tag (gtag.js) - Google Analytics