How are you locating method signatures and sources?

hello all,

  1. 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?

  1. 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.



On May 8, 2006, at 9:00 PM, jay raman wrote:

  1. in case of the ruby on rails “scaffold:” methods, how do



Posted via

You should check out ri, gem_server and

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs