Sha256: 2e767adcd979c5bbbe72b313cbbef19c61383ce6ad09659de0f2f11b005e0097

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

module TargetIO
  class IO
    class << self
      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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chef-18.5.0 lib/chef/target_io/io.rb