Libraries
»
atd-ancestry
(1.3.0)
»
Index
»
Ancestry
»
InstanceMethods
»
#depth
Method: Ancestry::InstanceMethods#depth
Defined in:
lib/ancestry/instance_methods.rb
#
depth
⇒
Object
91 92 93
# File 'lib/ancestry/instance_methods.rb', line 91
def
depth
ancestor_ids
.
size
end