In python during runtime, or in the python shell you can type:

dir()

or

dir(<some_object>)

and get a list of variables, methods etc that exist for that object.

Also there is help(<some_object>), or help(<some_object.aMethod>).

does ruby have similar functions.  I know that you can use ri....but
is there a function to call while in the ruby shell?

thanks