Module Nanoc::ArrayExtensions
In: lib/nanoc/base/core_ext/array.rb

encoding: utf-8

Methods

Public Instance methods

Calculates the checksum for this array. Any change to this array will result in a different checksum.

@return [String] The checksum for this array

@api private

Freezes the contents of the array, as well as all array elements. The array elements will be frozen using {freeze_recursively} if they respond to that message, or freeze if they do not.

@see Hash#freeze_recursively

@return [void]

@since 3.2.0

Returns a new array where all items’ keys are recursively converted to strings by calling {Nanoc::ArrayExtensions#stringify_keys_recursively} or {Nanoc::HashExtensions#stringify_keys_recursively}.

@return [Array] The converted array

Returns a new array where all items’ keys are recursively converted to symbols by calling {Nanoc::ArrayExtensions#symbolize_keys_recursively} or {Nanoc::HashExtensions#symbolize_keys_recursively}.

@return [Array] The converted array

[Validate]