Literals
Strings
"Hello, World!"
'Hello, World!'
"2 + 2 = #{2+2}"
'10 + 10 = #{10+10}'Numbers
123
123.456
123_456
0b123Arrays
Booleans
Last updated
Was this helpful?
"Hello, World!"
'Hello, World!'
"2 + 2 = #{2+2}"
'10 + 10 = #{10+10}'123
123.456
123_456
0b123Last updated
Was this helpful?
Was this helpful?
[1,2,3]
["foo", "bar", "baz"] true
false