Parent

Methods

Debugger::Xml::Vim::Notification

Public Class Methods

new(command, options) click to toggle source
# File lib/debugger/xml/vim/notification.rb, line 6
def initialize(command, options)
  @command = command
  @executable = options.vim_executable
  @servername = options.vim_servername
  @debug_mode = options.debug_mode
  @logger_file = options.logger_file
end

Public Instance Methods

send() click to toggle source
# File lib/debugger/xml/vim/notification.rb, line 14
def send
  command = ":call RubyDebugger.#{@command}()"
  starter = "<C-\\\\>"
  sys_cmd = "#{@executable} --servername #{@servername} -u NONE -U NONE " +
    "--remote-send \"#{starter}<C-N>#{command}<CR>\""
  log("Executing command: #{sys_cmd}")
  system(sys_cmd);
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.