class Byebug::DisableCommand - byebug-11.0.1 Documentation

# class Byebug::DisableCommand

Disabling custom display expressions or breakpoints.

Reopens the `disable` command to define the `breakpoints` subcommand

Reopens the `disable` command to define the `display` subcommand

### Public Class Methods

description() click to toggle source

    # File lib/byebug/commands/disable.rb, line 21
        def self.description
          <<-DESCRIPTION
            dis[able][[ breakpoints| display)][ n1[ n2[ ...[ nn]]]]]

            #{short_description}
          DESCRIPTION
        end

regexp() click to toggle source

    # File lib/byebug/commands/disable.rb, line 17
    def self.regexp
      /^\s* dis(?:able)? (?:\s+ (.+))? \s*$/x
    end

short_description() click to toggle source

    # File lib/byebug/commands/disable.rb, line 29
    def self.short_description
      "Disables breakpoints or displays"
    end