class Byebug::VarCommand

Shows variables and its values

Reopens the var command to define the all subcommand

Reopens the var command to define the args subcommand

Reopens the var command to define the const subcommand

Reopens the var command to define the global subcommand

Reopens the var command to define the instance subcommand

Reopens the var command to define the local subcommand

Public Class Methods

description() click to toggle source
# File lib/byebug/commands/var.rb, line 23
def self.description
  <<-EOD
    [v]ar <subcommand>

    #{short_description}
  EOD
end
regexp() click to toggle source
# File lib/byebug/commands/var.rb, line 19
def self.regexp
  /^\s* v(?:ar)? (?:\s+ (.+))? \s*$/x
end
short_description() click to toggle source
# File lib/byebug/commands/var.rb, line 31
def self.short_description
  'Shows variables and its values'
end