[Rails] Viewing all Properties and Methods?
softwareengineer 99
softwareengineer99 at yahoo.com
Wed Feb 1 07:58:08 GMT 2006
Thanks Dylan for the resource. I will check it out now.
Frank
Dylan Stamat <dylans at gmail.com> wrote: Hey Frank !
Check out the "Module" class here I believe:
http://www.ruby-doc.org/core/
Object, Module and Class all have a slew of "reflection" type methods... but am not sure which one prints "it all out".
Have a look and you'll probably find it.
==
Dylan
On 1/31/06, softwareengineer 99 <softwareengineer99 at yahoo.com > 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?
Many thanks for your assistance.
Frank
---------------------------------
What are the most popular cars? Find out at Yahoo! Autos
_______________________________________________
Rails mailing list
Rails at lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails
_______________________________________________
Rails mailing list
Rails at lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails
---------------------------------
What are the most popular cars? Find out at Yahoo! Autos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060201/20f63da4/attachment.html
More information about the Rails
mailing list