Sha256: 7cd6e076000200c7bb40c23e484a70b09489f25208c8d1720e0a5b82d08cb16a
Contents?: true
Size: 362 Bytes
Versions: 20
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true # The same as length() - returns the size of an Array, Hash, String, or Binary value. # # @since 6.0.0 - also supporting Binary # Puppet::Functions.create_function(:size) do dispatch :generic_size do param 'Variant[Collection, String, Binary]', :arg end def generic_size(arg) call_function('length', arg) end end
Version data entries
20 entries across 20 versions & 1 rubygems