Module: ClosureTree::HashTree

Extended by:
ActiveSupport::Concern
Defined in:
lib/closure_tree/hash_tree.rb

Instance Method Summary collapse

Instance Method Details

#hash_tree(options = {}) ⇒ Object



7
8
9
# File 'lib/closure_tree/hash_tree.rb', line 7

def hash_tree(options = {})
  _ct.hash_tree(self_and_descendants, options[:limit_depth])
end