Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

change writing strategy to match vims.

  • Loading branch information...
commit 97702befa4ead28afc1de670f57b42bba171dfe5 1 parent ac7094d
A.G. Russell Knives authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  bin/ruby_debugger.rb
View
3  bin/ruby_debugger.rb
@@ -168,7 +168,8 @@ def have_unclosed_tag?(output)
def log(string)
if @params[:debug_mode] == '1'
File.open(@params[:logger_file], 'a') do |f|
- f.puts 'Ruby_debugger.rb, ' + Time.now.strftime("%H:%M:%S") + ': ' + string
+ # match vim redir style new lines, rather than trailing
+ f << "\nRuby_debugger.rb, #{Time.now.strftime("%H:%M:%S")} : #{string.chomp}"
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.