summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorJuan Treminio <jtreminio@gmail.com>2014-02-19 23:37:38 -0600
committerJuan Treminio <jtreminio@gmail.com>2014-02-19 23:37:38 -0600
commit908db6d403e16e345a78427e8eef397d5f8533e8 (patch)
tree05db93ea3db5b1ee2718f98192ecd5891d1941c0 /README.markdown
parentab981422a67636441f1bfebaaade36aa690f1f25 (diff)
hash example has misplaced comas
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index 1e70f39..76c546f 100644
--- a/README.markdown
+++ b/README.markdown
@@ -650,8 +650,8 @@ Merges two or more hashes together and returns the resulting hash.
For example:
- $hash1 = {'one' => 1, 'two', => 2}
- $hash2 = {'two' => 'dos', 'three', => 'tres'}
+ $hash1 = {'one' => 1, 'two' => 2}
+ $hash2 = {'two' => 'dos', 'three' => 'tres'}
$merged_hash = merge($hash1, $hash2)
# The resulting hash is equivalent to:
# $merged_hash = {'one' => 1, 'two' => 'dos', 'three' => 'tres'}