- given there is a method say, “save” within a ruby class, how are you
going about finding what type arguments it takes, what it returns
and then perhaps, its source code (if you want to learn by example)?
is the way to navigate to api documentation and search to
find the method?
- in case of the ruby on rails “scaffold:” methods, how do
you find the above for them - it seems an effort to have
to go to all code that perhaps is dynamically generating
the CRUD methods.
is there by chance a way for ruby by introspection (or else)
return the source code for a method?
this is a huge challenge for a newbie like myself who is used
to nice “self-documenting” java methods, and zipping to the
corresponding javadoc source with the stroke of the F1 key.