Method: Pathname#split
- Defined in:
- lib/rubysl/pathname/pathname.rb
#split ⇒ Object
See File.split. Returns the #dirname and the #basename in an Array.
889 |
# File 'lib/rubysl/pathname/pathname.rb', line 889 def split() File.split(@path).map {|f| self.class.new(f) } end |