[Rails] Viewing all Properties and Methods?

Alex Young alex at blackkettle.org
Wed Feb 1 11:07:50 GMT 2006


softwareengineer 99 wrote:
> Hello,
> 
> How can I see all the properties (member variables) and methods 
> (functions) that are available for an object? Is there a function 
> similar to PHP's  var_dump in MySQL?
object.inspect is probably what you're after.

-- 
Alex


More information about the Rails mailing list