true
True boolean value.
true or false == true
false
False boolean value.
false and true == false
nil
Represents “nothing” or “no value”.
x = nil
strings
Stores textual information.
x = “hello”
numbers
Stores integers
i = 100
floats
Stores decimals.
i = 10.389
arrays
Stores a list of things.
j = [1,2,3,4]
hashes
Stores a key=value mapping of things.
e = {‘x’ => 1, ‘y’ => 2}