会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
牧心
关注人,关注敏捷
博客园
首页
新随笔
联系
订阅
管理
2007年7月27日
《Programming Ruby 中文版第二版》P577页singleton_method_undefined方法说明有点问题
摘要: “当一个singleton方法在这个接受者中没有定义(??)时,singleton_method_undefined作为回调函数会被调用”这是书上P577页的说法,看看官网的原文:Invoked as a callback whenever a singleton method is undefined in the receiver再看代码: 1module Chatty 2 def ...
阅读全文
posted @ 2007-07-27 17:17 小熊bryan
阅读(499)
评论(0)
推荐(0)
编辑