Skip to content

Commit 6a89e1c

Browse files
author
Ashley Penney
committed
Merge pull request #221 from puphpet/hash-fix
hash example has misplaced comas
2 parents e6c1aa6 + 908db6d commit 6a89e1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -650,8 +650,8 @@ Merges two or more hashes together and returns the resulting hash.
650650

651651
For example:
652652

653-
$hash1 = {'one' => 1, 'two', => 2}
654-
$hash2 = {'two' => 'dos', 'three', => 'tres'}
653+
$hash1 = {'one' => 1, 'two' => 2}
654+
$hash2 = {'two' => 'dos', 'three' => 'tres'}
655655
$merged_hash = merge($hash1, $hash2)
656656
# The resulting hash is equivalent to:
657657
# $merged_hash = {'one' => 1, 'two' => 'dos', 'three' => 'tres'}

0 commit comments

Comments
 (0)