module ClosureTree::HashTree::ClassMethods

Public Instance Methods

hash_tree(options = {}) click to toggle source

There is no default depth limit. This might be crazy-big, depending on your tree shape. Hash huge trees at your own peril!

# File lib/closure_tree/hash_tree.rb, line 13
def hash_tree(options = {})
  _ct.hash_tree(_ct.default_tree_scope(all, options[:limit_depth]))
end