Parent

Methods

Debugger::Xml::Vim::Logger

Public Class Methods

new(logger_file) click to toggle source
# File lib/debugger/xml/vim/logger.rb, line 5
def initialize(logger_file)
  @logger_file = logger_file
end

Public Instance Methods

puts(string) click to toggle source
# File lib/debugger/xml/vim/logger.rb, line 9
def puts(string)
  File.open(@logger_file, 'a') do |f|
    # match vim redir style new lines, rather than trailing
    f << "\ndebugger-xml, #{Time.now.strftime("%H:%M:%S")} : #{string.chomp}"
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.