X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=blobdiff_plain;f=3rdparty%2Fmodules%2Fstdlib%2Flib%2Fpuppet%2Ffunctions%2Fis_float.rb;h=e15d3e4c72477c3b833d2b9151b50d7500fd9dd8;hp=03e94d3a4f142bcdbe6381ad11c3765952f8712c;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/functions/is_float.rb b/3rdparty/modules/stdlib/lib/puppet/functions/is_float.rb index 03e94d3a4..e15d3e4c7 100644 --- a/3rdparty/modules/stdlib/lib/puppet/functions/is_float.rb +++ b/3rdparty/modules/stdlib/lib/puppet/functions/is_float.rb @@ -1,4 +1,14 @@ +# @summary +# Wrapper that calls the Puppet 3.x funtion of the same name. Puppet::Functions.create_function(:is_float) do + # @param scope + # The main value that will be passed to the wrapped method + # + # @param args + # Any additional values that are to be passed to the wrapped method + # + # @return [Boolea] + # A boolean value returned from the called 3.x function. dispatch :deprecation_gen do param 'Any', :scope repeated_param 'Any', :args