分享 ruby 里必须要知道的英文之 ancestor

i5ting · 2013年01月15日 · 最后由 sailtsao 回复于 2013年01月15日 · 4797 次阅读

常见度:

ancestor [英] [ˈænsistə] [美] [ˈænˌsɛstɚ]

n.祖先,祖宗;被继承人;原型; (动物的)原种,先祖

n.

  1. 祖先,祖宗 She has worshipped her ancestor. 她已拜过她的祖先。 The custom of worshipping ancestors is prevalent among these people. 崇拜祖先的风俗在这些人中是普遍的。
  2. 原型,先驱 This machine is the ancestor of the modern computer. 这台机器是现代电脑的始祖。
  3. (动物的)原种

下面是 ruby 元编程里的一句

MySubclass.ancestors # => MySubclass, MyClass, Object, Kernel, BasicObject

具体参见

用的不多

#1 楼 @chucai 理解 ruby 对象必须品哦

这个单词好记...可以这么来背... ancestor>俺 sister>俺妹>俺的妹子俺的小祖宗>祖先,祖宗

好吧,俺承认俺是遭中式英语迫害过的受害者...

需要 登录 后方可回复, 如果你还没有账号请 注册新账号