views:

72

answers:

0

How can I see a list of method parameters similar to how you can see methods for a Model/object like:

>> nil.methods
=> ["returning", "inspect", "with_options", "tap", .....

So that I can do:

>> nil.returning.attributes
=> some array or hash

I know I can look up in the code, but sometimes it's just faster for the console