From: David Naseby Date: 2004-05-03T14:05:30+09:00 Subject: Re: print <-----Original Message----- >From: Richard Lionheart [mailto:NoOne@Nowhere.com] > >text from <some quoted >strings in that block, as follows. Why? Because you are using an inline variable substitute (#{}). You can escape it, as below: >print < xxxx > yyyy > "abc" > >class A > def initialize(*args, &block) > puts '---' > puts "args <#{ args.inspect }>" puts "args <\#{ args.inspect }>" > block.call if block > end >end >TEST David http://homepages.ihug.com.au/~naseby/