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 24
    def self.description
      <<-DESCRIPTION
        [v]ar <subcommand>

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