Created
January 16, 2015 22:26
-
-
Save bitops/594592caccfd048304de to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| { | |
| foo: { | |
| a: 42, | |
| b: { | |
| c: [1, 2, 3] | |
| d: 88 | |
| } | |
| } | |
| } | |
| f = Foo.new # imagine it's populated with data | |
| f.a # 42 | |
| f.b.c # [1, 2, 3] | |
| f.b.d # 88 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment