From: Lucky Nl Date: 2012-01-31T21:00:06+09:00 Subject: why we need heredoc In ruby we have the concpet "heredoc" to handle multiple line strings We can handle that with doublequotes for example x = "Grocery list ------------ 1. Salad mix. 2. Strawberries. 3. Cereal. 4. Milk. " puts x OUTPUT: Grocery list ------------ 1. Salad mix. 2. Strawberries. 3. Cereal. 4. Milk. Anyspecific reason to use heredoc concept -- Posted via http://www.ruby-forum.com/.