# How to get the (class) method document or the method list of module?

**URL:** <https://www.ruby-forum.com/t/how-to-get-the-class-method-document-or-the-method-list-of-module/180009>\
**Category:** Ruby\
**Created:** [December 9, 2009, 4:50pm UTC](https://www.ruby-forum.com/t/how-to-get-the-class-method-document-or-the-method-list-of-module/180009 "2009-12-09T16:50:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuangye](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e0b2c6/32.png) [@kuangye](https://www.ruby-forum.com/u/kuangye)\
**Post date:** [December 9, 2009, 4:50pm UTC](https://www.ruby-forum.com/t/how-to-get-the-class-method-document-or-the-method-list-of-module/180009/1 "2009-12-09T16:50:56Z")

</div>

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?
