Skip to content

Instantly share code, notes, and snippets.

Created January 30, 2017 09:51
Show Gist options
  • Save anonymous/53182e67ad45fddd2438087edacda1d8 to your computer and use it in GitHub Desktop.
Save anonymous/53182e67ad45fddd2438087edacda1d8 to your computer and use it in GitHub Desktop.
Hash
$testHash = {
:products =>
[
{
:productName => "Raw Plastic",
:currentStock => 100,
:composentOf =>
[
{
:name => "My super object 1"
},
{
:name => "Another crazy object"
},
{
:name => "A third object"
},
],
},
{
:productName => "50Ohm resistor",
:currentStock => 3200,
:composentOf =>
[
{
:name => "My super object 1"
},
{
:name => "My super object 2"
},
],
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment