Creates a digest based on:
- parse each key, value pair into an Array
containing keys: CLASS:KEY: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. Hash).
- "length" is the size of the Array of
digests (which should equal the number of keys in the original Hash object).
- "value" is the Array of digests joined
with a colon (":").
This method can be used by any class with a keys method.
class MyOrderedHash
include Gibbler::Hash
end