Skip to content

Commit 908db6d

Browse files
committed
hash example has misplaced comas
1 parent ab98142 commit 908db6d

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)