class Byebug::VarCommand::AllCommand

Shows global, instance and local variables

Public Class Methods

description() click to toggle source
# File lib/byebug/commands/var/all.rb, line 20
def self.description
  <<-EOD
    v[ar] a[ll]

    #{short_description}
  EOD
end
regexp() click to toggle source
# File lib/byebug/commands/var/all.rb, line 16
def self.regexp
  /^\s* a(?:ll)? \s*$/x
end
short_description() click to toggle source
# File lib/byebug/commands/var/all.rb, line 28
def self.short_description
  'Shows local, global and instance variables of self.'
end

Public Instance Methods

execute() click to toggle source
# File lib/byebug/commands/var/all.rb, line 32
def execute
  var_global
  var_instance('self')
  var_local
end