From: David Alan Black Date: 2001-07-06T12:19:04+09:00 Subject: [ruby-talk:17373] Re: /* */ comments Hello -- On Fri, 6 Jul 2001, Chris Moline wrote: > On Fri, Jul 06, 2001 at 09:51:52AM +0900, Daniel wrote: [ > > Guy Hurst wrote: ] > > > Secondly, for nesting. I have had this issue myself. Even though > > > I use RD's =begin/=end for debugging, I have found myself doing > > > some acrobatics to get around the fact that they don't nest. > %q{ ... } nests. > > > I added nested comment support to that little bit that I did. > i think that we could all just use %q{ }. See [ruby-talk:17279] and [ruby-talk:17285] on %{}; also [ruby-talk:17304] on the drawbacks of a syntactic solution. Also, try putting a %q{} around this: def thing puts "I have a thing about the '}' character." end :-) I like #{} or %#{}, which have a nice Ruby look but wouldn't (presumably) have all the problems of %{} and friends. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav