Method: Lono::Completer#log

Defined in:
lib/lono/completer.rb

#log(msg) ⇒ Object

Useful for debugging. Using puts messes up completion.



154
155
156
157
158
# File 'lib/lono/completer.rb', line 154

def log(msg)
  File.open("/tmp/complete.log", "a") do |file|
    file.puts(msg)
  end
end