class Byebug::VarCommand::InstanceCommand


Shows instance variables

def self.description

def self.description
  <<-DESCRIPTION
    v[ar] i[nstance][ <object>]
    #{short_description}
  DESCRIPTION
end

def self.regexp

def self.regexp
  /^\s* i(?:nstance)? (?:\s+ (.+))? \s*$/x
end

def self.short_description

def self.short_description
  "Shows instance variables of self or a specific object."
end

def execute

def execute
  var_instance(@match[1])
end