K
kuangye
How to get the (class) method document or the method list of module?
In python, I can use __doc__ to get the method's document, and use dir
to get the method list of a class or module.
In ruby, Is there any builtin function like dir or __doc__ in python?
In python, I can use __doc__ to get the method's document, and use dir
to get the method list of a class or module.
In ruby, Is there any builtin function like dir or __doc__ in python?