Method: Chef::Formatters::IndentableOutputStream#start_line

Defined in:
lib/chef/formatters/indentable_output_stream.rb

#start_line(string, *args) ⇒ Object

Print the start of a new line. This will terminate any existing lines and cause indentation but will not move to the next line yet (future 'print' and 'puts' statements will stay on this line).

Parameters:



34
35
36
# File 'lib/chef/formatters/indentable_output_stream.rb', line 34

def start_line(string, *args)
  print(string, from_args(args, start_line: true))
end