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.5.0.pre2 lib/debugger/commands/kill.rb
debugger-xml-0.5.0.pre1 lib/debugger/commands/kill.rb
debugger-xml-0.4.1 lib/debugger/commands/kill.rb
debugger-xml-0.4.0 lib/debugger/commands/kill.rb
debugger-xml-0.3.3 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.3.2 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.3.1 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.2.0 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.1.9 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.1.8 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.1.7 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.1.6 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.1.5 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.1.4 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.1.3 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.1.2 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.1.1 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.1.0 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.0.4 lib/debugger/xml/extensions/commands/kill.rb
debugger-xml-0.0.3 lib/debugger/xml/extensions/commands/kill.rb