Skip to content

Commit

Permalink
Create hashes Excersise 7
Browse files Browse the repository at this point in the history
The first uses x the symbol as the key. The second uses the string value x, "hi there", as the key.
  • Loading branch information
raspy8766 committed Sep 3, 2014
1 parent d09e008 commit 3fa3516
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hashes Excersise 7
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
x = "hi there"
my_hash = {x: "some value"}
my_hash2 = {x => "some value"}

0 comments on commit 3fa3516

Please sign in to comment.