Created
January 30, 2017 09:51
-
-
Save anonymous/53182e67ad45fddd2438087edacda1d8 to your computer and use it in GitHub Desktop.
Hash
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
$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