J
Jason Lillywhite
The rdoc heading for Array[index] method says:
array[index] = obj → obj
and for String.new:
String.new(str="") => new_str
When I document my own classes, how do I make the part that shows return
values with the arrow appear? i.e. change_array(old_array) => new_array
I don't know how to comment my code such that the "=> new_array" would
appear in rdoc.
Thank you.
array[index] = obj → obj
and for String.new:
String.new(str="") => new_str
When I document my own classes, how do I make the part that shows return
values with the arrow appear? i.e. change_array(old_array) => new_array
I don't know how to comment my code such that the "=> new_array" would
appear in rdoc.
Thank you.