Class: Chef::ShellOut
- Defined in:
- lib/chef/shell_out.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ ShellOut
constructor
A new instance of ShellOut.
Constructor Details
#initialize(*args) ⇒ ShellOut
Returns a new instance of ShellOut.
6 7 8 9 10 11 |
# File 'lib/chef/shell_out.rb', line 6 def initialize(*args) Chef::Log.warn("Chef::ShellOut is deprecated, please use Mixlib::ShellOut") called_from = caller[0..3].inject("Called from:\n") {|msg, trace_line| msg << " #{trace_line}\n" } Chef::Log.warn(called_from) super end |