Skip to content

Instantly share code, notes, and snippets.

@NaiyaShah-BTC
Created April 8, 2019 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NaiyaShah-BTC/6c26c987555c338838b796565f2d7505 to your computer and use it in GitHub Desktop.
Save NaiyaShah-BTC/6c26c987555c338838b796565f2d7505 to your computer and use it in GitHub Desktop.
# Below is our complete hash example.
properties = { user: { profile: { name: 'Naiya' },
bank: { account: '123' } } }
# This is having nil in profile details.
properties = { user: { profile: nil } }
# This has no user data.
properties = { user: nil }
# May be possible to have no data set to properties
properties = {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment