Class: TargetIO::FileUtils
- Inherits:
-
Object
- Object
- TargetIO::FileUtils
- Defined in:
- lib/chef/target_io/fileutils.rb
Class Method Summary collapse
Class Method Details
.method_missing(m, *args, **kwargs, &block) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/chef/target_io/fileutils.rb', line 4 def method_missing(m, *args, **kwargs, &block) Chef::Log.debug format("FileUtils::%s(%s)", m.to_s, args.join(", ")) backend = ChefConfig::Config.target_mode? ? TrainCompat::FileUtils : ::FileUtils backend.send(m, *args, **kwargs, &block) end |