Hi,
I have a simple test program.
====================
class QuickTest
def testMe
str = <<EOS
Some Application data
EOS
puts str
end
end
if $0 == __FILE__ then
$test = QuickTest.new
$test.testMe
end
===========================
I got this error and could not figure out what's wrong?
==============================================
QuickTest.rb:21: can't find string "EOS" anywhere before EOF
QuickTest.rb:6: syntax error
===============================================
Can someone help?
I am running Ruby 1.8 on Windows XP
Thanks