Class Hash
In: lib/rudy/mixins.rb
Parent: Object

Methods

Public Instance methods

A depth-first look to find the deepest point in the Hash. The top level Hash is counted in the total so the final number is the depth of its children + 1. An example:

    ahash = { :level1 => { :level2 => {} } }
    ahash.deepest_point  # => 3

[Validate]