Libraries
»
synco
(1.2.0)
»
Index
»
Synco
»
Directory
»
depth
Method: Synco::Directory.depth
Defined in:
lib/synco/directory.rb
.
depth
(path) ⇒
Object
56 57 58
# File 'lib/synco/directory.rb', line 56
def
self
.
depth
(
path
)
path
.
count
(
'
/
'
)
end