class Byebug::VarInstanceCommand


Show instance variables and its values.

def description

def description
  %(v[ar] i[nstance] <object>
  Show instance variables of <object>.)
end

def execute

def execute
  var_instance(@match.post_match.empty? ? 'self' : @match.post_match)
end

def names

def names
  %w(var)
end

def regexp

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