class Byebug::VarCommand::InstanceCommand

Shows instance variables

Public Class Methods

description() click to toggle source
# File lib/byebug/commands/var/instance.rb, line 21
      def self.description
        <<-DESCRIPTION
          v[ar] i[nstance][ <object>]

          #{short_description}
        DESCRIPTION
      end
regexp() click to toggle source
# File lib/byebug/commands/var/instance.rb, line 17
def self.regexp
  /^\s* i(?:nstance)? (?:\s+ (.+))? \s*$/x
end
short_description() click to toggle source
# File lib/byebug/commands/var/instance.rb, line 29
def self.short_description
  "Shows instance variables of self or a specific object."
end

Public Instance Methods

execute() click to toggle source
# File lib/byebug/commands/var/instance.rb, line 33
def execute
  var_instance(@match[1])
end