From: Loren Segal Date: 2010-12-28T19:56:14+09:00 Subject: [ruby-core:33957] Re: Multi-line comments On 12/28/2010 5:41 AM, Rodrigo Rosenfeld Rosas wrote: > On 28-12-2010 01:54, Joshua Ballanco wrote: >> Do "=begin" and "=end" not work for you? > > These are not meant to be used as a multi-line comment, but to > generate documentation instead. =begin/=end aren't specific to documentation, they just happen to be processed by documentation tools (RDoc, YARD). Keep in mind that regular "#" comments are processed by documentation tools as well, so there's actually no difference here even if they were "documentation specific". The only *real* difference is that you have to align the keywords to the beginning of the line, which can be visually ugly if you're using these multi-line comments for something more than temporary comment-out-ing. - Loren