class Byebug::VarCommand::InstanceCommand
Shows instance variables
Public Class Methods
description()
click to toggle source
# File lib/byebug/commands/var/instance.rb, line 20 def self.description <<-EOD v[ar] i[nstance][ <object>] #{short_description} EOD end
regexp()
click to toggle source
# File lib/byebug/commands/var/instance.rb, line 16 def self.regexp /^\s* i(?:nstance)? (?:\s+ (.+))? \s*$/x end
short_description()
click to toggle source
# File lib/byebug/commands/var/instance.rb, line 28 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 32 def execute var_instance(@match[1]) end