]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
hash example has misplaced comas
authorJuan Treminio <jtreminio@gmail.com>
Thu, 20 Feb 2014 05:37:38 +0000 (23:37 -0600)
committerJuan Treminio <jtreminio@gmail.com>
Thu, 20 Feb 2014 05:37:38 +0000 (23:37 -0600)
README.markdown

index 1e70f39049ee128b4d20b459c24170037611edd5..76c546f14e81e1a65cbc3a73aa43d8beaa2518ab 100644 (file)
@@ -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'}