Method: File.split_root

Defined in:
lib/library/core_ext.rb

.split_root(path) ⇒ Object



7
8
9
# File 'lib/library/core_ext.rb', line 7

def self.split_root(path)
  path.split(RE_PATH_SEPERATOR, 2)
end