as i am just learning Ruby (in at the deep end, the way we like it!), i needed to see what is available for certain objects (instances of) and variables methods etc, here’s what i know so far:
to show methods:
[code]
<% puts thevar.methods.to_yaml %>
[/code]
and to see the instance variables:
[code]
<% puts thevar.instance_variables.to_yaml %>
[/code]