Method: Shell::ShellSession#initialize
- Defined in:
- lib/chef/shell/shell_session.rb
#initialize ⇒ ShellSession
Returns a new instance of ShellSession.
43 44 45 46 47 |
# File 'lib/chef/shell/shell_session.rb', line 43 def initialize @node_built = false formatter = Chef::Formatters.new(Chef::Config.formatter, STDOUT, STDERR) @events = Chef::EventDispatch::Dispatcher.new(formatter) end |