> > > puts """
> > >   Ok, Guy but this sure looks very much
> > >   like what you can acheive with here documents!
> > >   """
> > > 
> > > puts <<-HERE
> > >   Dont, you agree or am I missing something?
> > >   HERE
> > 
> > 
> > puts "
> > 
> >    But isn't what you're doing also achieved by using
> >    one set of double quotes?  
> > 
> > "
> > 
> Yeah, you're right. Sorry for wasting bandwith. I saw this in someone
> else's code and thought it was a new way to specify here docs. I now see
> that there is a small difference. When using double quotes you get an
> extra newline before the first line.
> 

I get the following:

irb(main):020:0> puts """
irb(main):021:0" "this is a test"
irb(main):022:0" """
SyntaxError: compile error
(irb):21: parse error
"this is a test"
     ^
(irb):21:in `irb_binding'
irb(main):023:0> puts <<HERE
irb(main):024:0" "this is a test"
irb(main):025:0" HERE
"this is a test"
nil

It doesn't appear that """ is a here doc.


====================================================
Jim Freeze
jim / freeze.org
--------------------------------------------------- 
** http://www.freeze.org **
====================================================