From: Brian Candler Date: 2010-08-04T17:15:53+09:00 Subject: Re: documenting string Ciur Eugen wrote: > Oh, indeed "instance variable"!! > and #@something inside doc string it sees live "#{@something}"!!! > Thank you very much, Bob, now understand! And incidentally, you can change the semantics of heredocs to those of single-quoted strings by single-quoting the terminator. e.g. def call_me e = <<'SOME' #@ # this is a nice string! # SOME e end puts call_me (But this won't let you embed #{...} interpolation in your string either) -- Posted via http://www.ruby-forum.com/.