From: Austin Ziegler Date: 2007-03-23T22:54:00+09:00 Subject: Re: Does ruby have a similar functions to the Python dir and help functions? Ruby can tell you the methods: obj.methods (there's also #public_methods, #instance_methods, #private_methods, etc.). Ruby can tell you the instance variables (#instance_variables). Ruby can't tell you the documentation; there's no docstring like there is in Python. There are some enhancements to irb available that give an ri command from within irb. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca