vendored/puppet/lib/puppet/functions/call.rb in bolt-0.17.1 vs vendored/puppet/lib/puppet/functions/call.rb in bolt-0.17.2
- old
+ new
@@ -6,23 +6,23 @@
# 2. Any number of arguments to be passed to the called function.
# 3. An optional lambda, if the function being called supports it.
#
# @example Using the `call` function
#
-# ~~~ puppet
+# ```puppet
# $a = 'notice'
# call($a, 'message')
-# ~~~
+# ```
#
# @example Using the `call` function with a lambda
#
-# ~~~ puppet
+# ```puppet
# $a = 'each'
# $b = [1,2,3]
# call($a, $b) |$item| {
# notify { $item: }
# }
-# ~~~
+# ```
#
# The `call` function can be used to call either Ruby functions or Puppet language
# functions.
#
# @since 5.0.0