Class: MockFS::MockFileSystem::MockRoot
- Defined in:
- lib/mockfs.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes included from Node
#mtime, #name, #parent, #permissions
Instance Method Summary collapse
Methods inherited from MockDir
#[]=, #delete, #entries, #fill_dir, #fill_path, #initialize, #mkdir
Methods included from Node
Constructor Details
This class inherits a constructor from MockFS::MockFileSystem::MockDir
Instance Method Details
#node(dirname) ⇒ Object
511 512 513 514 515 516 517 |
# File 'lib/mockfs.rb', line 511 def node( dirname ) begin super( Path.new( dirname ).absolute.strip ) rescue Errno::ENOENT raise Errno::ENOENT.new( dirname ) end end |