Class: TargetIO::IO
- Inherits:
-
Object
- Object
- TargetIO::IO
- Defined in:
- lib/chef/target_io/io.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/io.rb', line 4 def method_missing(m, *args, **kwargs, &block) Chef::Log.debug format("IO::%s(%s)", m.to_s, args.join(", ")) backend = ChefConfig::Config.target_mode? ? TrainCompat::IO : ::IO backend.send(m, *args, **kwargs, &block) end |