Class: Debugger::VarInstanceCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/debugger/xml/extensions/commands/variables.rb

Instance Method Summary collapse

Instance Method Details

#execute_with_xml(*args) ⇒ Object Also known as: execute



4
5
6
7
8
9
10
# File 'lib/debugger/xml/extensions/commands/variables.rb', line 4

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