vendored/puppet/lib/puppet/functions/unique.rb in bolt-0.15.0 vs vendored/puppet/lib/puppet/functions/unique.rb in bolt-0.16.0

- old
+ new

@@ -68,10 +68,10 @@ # If the more advanced clustering is wanted for one of the other data types, simply transform it into a `Hash` as shown in the # following example. # # @example turning a string or array into a hash with index keys # -# ~~puppet +# ~~~puppet # # Array ['a', 'b', 'c'] to Hash with index results in # # {0 => 'a', 1 => 'b', 2 => 'c'} # Hash(['a', 'b', 'c'].map |$i, $v| { [$i, $v]}) # # # String "abc" to Hash with index results in