Module: FileUtils
- Defined in:
- lib/mockfs/override.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.method_missing(symbol, *args, &action) ⇒ Object
12 13 14 15 |
# File 'lib/mockfs/override.rb', line 12 def self.method_missing( symbol, *args, &action ) file_utils = MockFS.mock? ? MockFS.file_utils : MockFS::OriginalFileUtils file_utils.send( symbol, *args, &action ) end |