projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
lib
/
puppet
/
functions
/
validate_hash.rb
diff --git
a/3rdparty/modules/stdlib/lib/puppet/functions/validate_hash.rb
b/3rdparty/modules/stdlib/lib/puppet/functions/validate_hash.rb
index
c6a61a4
..
5efa25f
100644
(file)
--- a/
3rdparty/modules/stdlib/lib/puppet/functions/validate_hash.rb
+++ b/
3rdparty/modules/stdlib/lib/puppet/functions/validate_hash.rb
@@
-1,4
+1,14
@@
+# @summary
+# Validate the passed value represents a hash.
Puppet::Functions.create_function(:validate_hash) do
Puppet::Functions.create_function(:validate_hash) do
+ # @param scope
+ # The main value that will be passed to the method
+ #
+ # @param args
+ # Any additional values that are to be passed to the method
+ #
+ # @return
+ # A boolean value (`true` or `false`) returned from the called function.
dispatch :deprecation_gen do
param 'Any', :scope
repeated_param 'Any', :args
dispatch :deprecation_gen do
param 'Any', :scope
repeated_param 'Any', :args