Module: ClosureTree::HashTree::ClassMethods

Defined in:
lib/closure_tree/hash_tree.rb

Instance Method Summary collapse

Instance Method Details

#hash_tree(options = {}) ⇒ Object

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



13
14
15
# 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