Method: ChefCLI::UI#initialize

Defined in:
lib/chef-cli/ui.rb

#initialize(out: nil, err: nil) ⇒ UI

Returns a new instance of UI.



40
41
42
43
# File 'lib/chef-cli/ui.rb', line 40

def initialize(out: nil, err: nil)
  @out_stream = out || $stdout
  @err_stream = err || $stderr
end