Sha256: 9566a8294c81e88fb1435dd3b527de73ee79c99fa5ebd75a4a2093ccf6d7a9d9

Contents?: true

Size: 334 Bytes

Versions: 3

Compression:

Stored size: 334 Bytes

Contents

module Debugger
  class TextMateCommand < Command

    def execute_with_xml(*args)
      errmsg(pr("general.errors.unsupported", cmd: 'tmate')) && 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

3 entries across 3 versions & 1 rubygems

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