Module: ClosureTree::HashTree

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

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#hash_tree(options = {}) ⇒ Object



5
6
7
# File 'lib/closure_tree/hash_tree.rb', line 5

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