Method: FakeFS::Pathname#dirname
- Defined in:
- lib/fakefs/pathname.rb
#dirname ⇒ Object
See File.dirname. Returns all but the last component of the path.
771 772 773 |
# File 'lib/fakefs/pathname.rb', line 771 def dirname self.class.new(File.dirname(@path)) end |