Method: Inspec::UI#print_or_return

Defined in:
lib/inspec/ui.rb


49
50
51
52
# File 'lib/inspec/ui.rb', line 49

def print_or_return(str, print_flag)
  io.print(str) if print_flag
  str
end