class Byebug::VarCommand::GlobalCommand - byebug-9.0.6 Documentation

# class Byebug::VarCommand::GlobalCommand

Shows global variables

### Public Class Methods

description() click to toggle source

    # File lib/byebug/commands/var/global.rb, line 18
    def self.description
      <<-EOD
        v[ar] g[lobal]

        #{short_description}
      EOD
    end

regexp() click to toggle source

    # File lib/byebug/commands/var/global.rb, line 14
    def self.regexp
      /^\s* g(?:lobal)? \s*$/x
    end

short_description() click to toggle source

    # File lib/byebug/commands/var/global.rb, line 26
    def self.short_description
      'Shows global variables.'
    end

### Public Instance Methods

execute() click to toggle source

    # File lib/byebug/commands/var/global.rb, line 30
    def execute
      var_global
    end