class Byebug::VarCommand - byebug-11.0.1 Documentation

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

            #{short_description}
          DESCRIPTION
        end

regexp() click to toggle source

    # File lib/byebug/commands/var.rb, line 21
    def self.regexp
      /^\s* v(?:ar)? (?:\s+ (.+))? \s*$/x
    end

short_description() click to toggle source

    # File lib/byebug/commands/var.rb, line 33
    def self.short_description
      "Shows variables and its values"
    end