Créer une activité
Jouer Relier
1. Strings
2. Integers
3. Floats
4. Nil
5. Booleans
6. Symbols

3 > 4 will return this data type.

Used for storing and manipulating text in Ruby. Can include any letter, number or character.

A special data type which stands for "nothing"

Any whole number. Ruby will round down by default when using these numbers.

3.0

In order to get decimal values, you must use this data type.

:name

1000

A special label. It is often used as a hash key.

"Hello, my name is platypus"

If x = [ 'a', 'b', 'c' ], x[ 3 ] will return this data type.

This data type can only be true or false.