class Byebug::VarInstanceCommand

def description

def description
  %{v[ar] i[nstance] <object>\tshow instance variables of object}
end

def execute

def execute
  obj = debug_eval(@match.post_match.empty? ? 'self' : @match.post_match)
  var_list(obj.instance_variables, obj.instance_eval{binding()})
end

def names

def names
  %w(var)
end

def regexp

def regexp
  /^\s* v(?:ar)? \s+ ins(?:tance)? \s*/x
end