自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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关注的人

提示
确定要删除当前文章?
取消 删除