- 博客(2)
- 收藏
- 关注
转载 Something about Instance Method and Class Method
If you wanted to define several methods for class Array, you'd write class Array [define methods here] end and all instances of Array can now use your methods similarly, if you want to define several methods for an object's singleton class,
2011-01-12 11:14:00 419
原创 aliase和aliase_method区别
<br />不知准确与否 ,不过从文档上看 aliase_method是将旧方法copy了一个出来,aliase是直接改名 。先记录一下。
2011-01-11 17:52:00 570
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人