Created
January 1, 2018 23:07
-
-
Save ryanckulp/6c9fd80e88de9658b751219982a35f50 to your computer and use it in GitHub Desktop.
array with different element types in Ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arr = [3, "four", {five: 'six'}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment