Creates a digest based on:
- parse each element into an Array of digests like:
CLASS:INDEX:VALUE.__gibbler
- The gibbler method is called on each element so if it is a Hash or Array etc it will be
parsed recursively according to the gibbler method for that class type.
- Digest the Array of
digests
- Return the digest for class:length:value where:
- "class" is equal to the current object class (e.g. Array).
- "length" is the size of the Array of
digests (which should equal the number of elements in the original Array object).
- "value" is the Array of digests joined
with a colon (":").
This method can be used by any class with an each method.
class MyNamedArray
include Gibbler::Array
end