Sha256: 585c2f2e47a13634a8fe908b8a96451b9a96403c67835c7262afe52305e26d1e

Contents?: true

Size: 329 Bytes

Versions: 22

Compression:

Stored size: 329 Bytes

Contents

module Debugger
  class KillCommand < Command

    def execute_with_xml(*args)
      errmsg(pr("general.errors.unsupported", cmd: 'kill')) && return if Debugger.printer.type == "xml"
      execute_without_xml(*args)
    end

    alias_method :execute_without_xml, :execute
    alias_method :execute, :execute_with_xml

  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
debugger-xml-0.0.2 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.0.1 lib/debugger/xml/extensions/commands/kill.rb