Skip to content

Instantly share code, notes, and snippets.

@laginha87
Created May 2, 2018 18:14
Show Gist options
  • Save laginha87/57866f527813074a20e1a9082d2ad52a to your computer and use it in GitHub Desktop.
Save laginha87/57866f527813074a20e1a9082d2ad52a to your computer and use it in GitHub Desktop.
array_and_hash_2
# Declaring arrays and hashes that can have nils
array = [] of Int32?
hash = {} of String => Int32?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment