69 70 71 72 73
# File 'lib/vagrant-invade/extend.rb', line 69 def depth a = self.to_a return 0 unless a.is_a?(Array) return 1 + depth(a[0]) end