answer = 'hello'

if answer != "given" || "coordinates"
  puts "Please answer either 'given' or 'coordinates'."
end

--output:--
1.rb:5: warning: string literal in condition


1)
answer = 'hello'

if answer != "given" and answer != "coordinates"
  puts "Please answer either 'given' or 'coordinates'."
end

2)
answer = 'hello'

if not ["given","coordinates"].include?(answer)
  puts "Please answer either 'given' or 'coordinates'."
end


============

begin
  answer = gets.chomp.downcase

  until answer == "coordinates"
    retry
  end

end

--output:--
1.rb:5: Invalid retry
1.rb: compile error (SyntaxError)


You are trying to learn ruby by skipping the basics--that can't be done.

-- 
Posted via http://www.ruby-forum.com/.