范例:
class YourName < Library::Method # code in here end
我经常在露比身上看到但我不知道这是什么意思。
8e2ybdfx1#
继承操作符(<)它的意思是“YourName继承自Library::Method”
<
1条答案
按热度按时间8e2ybdfx1#
继承操作符(
<
)它的意思是“YourName继承自Library::Method”