Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test = {
- 0 => 23,
- 1 => "hello",
- 15 => 34.5,
- "mamma mia!" => 42,
- }
- puts test["mamma mia!"] == 42
- puts test[1] == "hello"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement