Sha256: f9cb96ff7f1973b4d928164de0cdd48e0589df523b4610654367cb782f454227

Contents?: true

Size: 368 Bytes

Versions: 15

Compression:

Stored size: 368 Bytes

Contents

module Debugger
  class VarInstanceCommand < Command

    def execute_with_xml(*args)
      if Debugger.printer.type == "xml"
        print Debugger.printer.print_instance_variables(get_obj(@match))
      else
        execute_without_xml(*args)
      end
    end

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

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
debugger-xml-0.2.0 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.1.9 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.1.8 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.1.7 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.1.6 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.1.5 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.1.4 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.1.3 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.1.2 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.1.1 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.1.0 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.0.4 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.0.3 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.0.2 lib/debugger/xml/extensions/commands/variables.rb
debugger-xml-0.0.1 lib/debugger/xml/extensions/commands/variables.rb