Code Editor
Learn
Data Structures

Arrays of Non-Numbers

Here's something you might not have known: you can make an array of any collection of Ruby objects. You can make an array of booleans! An array of strings! The possibilities are (almost) endless.

Report a Bug
If you see a bug or any other issue with this page, please report it here.