Jun'uary
Jan'uary » 日志 » [QUIZ] Elegant way to check whether a class is another class's descendant
[QUIZ] Elegant way to check whether a class is another class's descendant
Jan 发表于 2008-09-09 10:27:52
Do you know what's the best way to do this in ruby?
suppose:
class A; end
class B < A; end
The best answer(I'm sure) in comments.
suppose:
class A; end
class B < A; end
The best answer(I'm sure) in comments.
曾经的这一天...
- » 2005年: 这个键盘的确很帅啊
- » 2005年: Google又搞到大牛一名
- » 2005年: Intel to bring full AMD64-compatibility to Xeon
相关日志:
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
