Sha256: 9debea55d781e66fdfe5a4c42aad27e72035f5eac8fbf18d9a2ebc1896b80f77
Contents?: true
Size: 361 Bytes
Versions: 32
Compression:
Stored size: 361 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
32 entries across 32 versions & 1 rubygems