Method: Transcriptic::UI#display

Defined in:
lib/transcriptic/ui.rb

#display(msg = "", newline = true) ⇒ Object



40
41
42
43
44
45
46
47
# File 'lib/transcriptic/ui.rb', line 40

def display(msg = "", newline = true)
  if newline
    puts(msg)
  else
    print(msg)
    STDOUT.flush
  end
end