class Byebug::VarInstanceCommand
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 help(cmd)
def help(cmd) %{ v[ar] i[nstance] <object>\tshow instance variables of object } end
def help_command
def help_command 'var' end
def regexp
def regexp /^\s*v(?:ar)?\s+ins(?:tance)?\s*/ end