本文介绍了在rdoc中显示继承的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Ruby编写的程序,它使用多个级别的继承。所有的父类都实现了子类的对象将使用的方法,但是当我为我的程序生成一个rdoc时,子类的rdoc页面仅显示该特定类的方法,并且没有父类的方法有没有人知道如何在rdoc中显示继承的类方法?



我已经看过rdoc文档和一些网站,还没有能够找到这个是否可行的答案。

解决方案

看来答案是否定的。


I have a program written in Ruby that uses multiple levels of inheritance. All of the parent classes have implemented methods that an object of a child class would use, but when I generate an rdoc for my program, the rdoc page for a child class only shows the methods for that specific class and no methods from the parent class.

Does anyone know how to display inherited class methods in rdoc? I have looked through rdoc documentation and some websites and haven't been able to find an answer on whether this is possible.

解决方案

It looks like the answer is no.

这篇关于在rdoc中显示继承的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 04:38