Method: Pathname#split_root
- Defined in:
- lib/standard/facets/pathname/split_root.rb
#split_root ⇒ Object
4 5 6 7 |
# File 'lib/standard/facets/pathname/split_root.rb', line 4 def split_root head, tail = *::File.split_root(to_s) [self.class.new(head), self.class.new(tail)] end |