Parent

Debugger::Xml::Vim::Interface

Public Class Methods

new(socket, options) click to toggle source
# File lib/debugger/xml/vim/interface.rb, line 7
def initialize(socket, options)
  super(socket)
  @options = options
  @output = []
end

Public Instance Methods

send_response() click to toggle source
# File lib/debugger/xml/vim/interface.rb, line 20
def send_response
  create_directory(@options.file)
  message = @output.join(@options.separator)
  @output.clear
  unless message.empty?
    File.open(@options.file, 'w') do |f|
      f.puts(message)
    end
    Notification.new("receive_command", @options).send
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.