Method: Ancestry::InstanceMethods#depth

Defined in:
lib/ancestry/instance_methods.rb

#depthObject



91
92
93
# File 'lib/ancestry/instance_methods.rb', line 91

def depth
  ancestor_ids.size
end