From: "Aleksi Niemelä" Date: 2000-07-03T12:09:03+02:00 Subject: [ruby-talk:03756] RE: XMP on comments > require "xmp" > xmp <<-EOS > xmp = "can't handle comments" > a = [1,2,3] > # in block it tries to evaluate > > # anyway it's quite a hack, > # there's no hope I'm going to fix it, > # I decided after 5 minutes of pure amaze :) > EOS Oh, I forgot to present the current output: xmp = "can't handle comments" #=> nil a = [1,2,3] #=> nil # in block it tries to evaluate #=> nil # anyway it's quite a hack, #=> nil # there's no hope I'm going to fix it, #=> nil # I decided after 5 minutes of pure amaze :) #=> nil Which makes me wonder if I took patch agains one of my misbehaving patches. Anyway the docs and the code after 'if __FILE__' thing are usable. - Aleksi