Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / lib / puppet / functions / validate_slength.rb
index ad6f7b3..aa4143b 100644 (file)
@@ -1,4 +1,13 @@
+#  Validate that a passed string has length less/equal with the passed value
 Puppet::Functions.create_function(:validate_slength) 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 [Boolean] `true` or `false`
+  #   A boolean value returned from the called function.
   dispatch :deprecation_gen do
     param 'Any', :scope
     repeated_param 'Any', :args