Module: Dir
- Defined in:
- lib/mockfs/override.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.method_missing(symbol, *args, &action) ⇒ Object
22 23 24 25 |
# File 'lib/mockfs/override.rb', line 22 def self.method_missing( symbol, *args, &action ) dir = MockFS.mock? ? MockFS.dir : MockFS::OriginalDir dir.send( symbol, *args, &action ) end |