class Byebug::VarCommand::LocalCommand

Shows local variables in current scope

Public Class Methods

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

    #{short_description}
  EOD
end
regexp() click to toggle source
# File lib/byebug/commands/var/local.rb, line 16
def self.regexp
  /^\s* l(?:ocal)? \s*$/x
end
short_description() click to toggle source
# File lib/byebug/commands/var/local.rb, line 28
def self.short_description
  'Shows local variables in current scope.'
end

Public Instance Methods

execute() click to toggle source
# File lib/byebug/commands/var/local.rb, line 32
def execute
  var_local
end