Sha256: b29a69e4360aefa14b8dbbcf25dc6ec77c13913e1c1ff219e5ce8fda835be50d

Contents?: true

Size: 329 Bytes

Versions: 22

Compression:

Stored size: 329 Bytes

Contents

module Debugger
  class HelpCommand < Command

    def execute_with_xml(*args)
      errmsg(pr("general.errors.unsupported", cmd: 'help')) && 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/help.rb
debugger-xml-0.5.0.pre1 lib/debugger/commands/help.rb
debugger-xml-0.4.1 lib/debugger/commands/help.rb
debugger-xml-0.4.0 lib/debugger/commands/help.rb
debugger-xml-0.3.3 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.3.2 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.3.1 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.2.0 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.1.9 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.1.8 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.1.7 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.1.6 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.1.5 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.1.4 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.1.3 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.1.2 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.1.1 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.1.0 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.0.4 lib/debugger/xml/extensions/commands/help.rb
debugger-xml-0.0.3 lib/debugger/xml/extensions/commands/help.rb