From: Joel Wilsson Date: 2001-07-05T23:04:22+09:00 Subject: [ruby-talk:17298] Re: /* */ comments Hi everyone, Since everyone seem to think multiline comments are so extremely crucial for the language, I might as well say what -I- think about it. My solution is very simple. Allow "anonymous" here docum- ents, and add a function returning the previous return value. Example: C<< This is the multiline comment describing what the function does. It is anonymous since it ends with >> # and not a special word. def foo gets # read a string from stdin C<< This should return the previous value, not the value of this here-document >> end Unless I'm missing something, this should be extremely easy to implement, and it fits nicely with the syntax Ruby already has (with here-documents). The only new syntax here is >>, isn't it? I don't remember, but doesn't Ruby already save the return value of the last function? Anyway, this wouldn't work if you want to comment out code using <<, like someArray<>" to start and end (all) here-documents, something I personally think should have been done before. As it is now, someArray<< <