// var <name> [= <value>]
var myVar
var a = 10
var b = 50.2
var hello = 'hello'
var alive = true
To make variables be more explicit, undefined variables lead to syntax error. You must declare your variables before use them.
a = 10 // Syntax error: undefined variable
puts b // ...