From: Deza Awesome Date: 2010-12-12T22:03:00+09:00 Subject: Problem with ruby code. A simple code that is self explanaetary. However when I run it, it spits out errors at me :( What do I do to make it work? def heLLO puts 'whats your name' name = gets.chomp puts "hello ". + name end V2 = Array.new [1 + rand(22)] V1 = Array.new [1 + rand(22)] def questioN puts 'whats the sum of' V2.to_s + 'and' + V1.to_s end heLLO questioN -- Posted via http://www.ruby-forum.com/.