At 2009-09-30 11:33AM, "Martin Glein" wrote: > Hello, > > Is there a way to specify the return value of a method in rdoc? > > I would like my rdoc documentation to look like the ruby-core-api: > "method_name(param1, param2) => return_value" > > Thanks for helping Use the "call-seq:" directive # ... comments about this method ... # # call-seq: # method_name(param1, param2) => return_value # def method_name(first_param, second_param) ... Note the parameter names in the call-seq don't have to match what you actually use in your code. -- Glenn Jackman Write a wise saying and your name will live forever. -- Anonymous