Sha256: 431d7b35ed8a93cc574d33e76fb1c1e199b5f5ff8bff8bce1ed5853d1b0f20f9

Contents?: true

Size: 696 Bytes

Versions: 2

Compression:

Stored size: 696 Bytes

Contents

require 'byebug/subcommands'

require 'byebug/commands/info/args'
require 'byebug/commands/info/breakpoints'
require 'byebug/commands/info/catch'
require 'byebug/commands/info/display'
require 'byebug/commands/info/file'
require 'byebug/commands/info/line'
require 'byebug/commands/info/program'

module Byebug
  #
  # Shows info about different aspects of the debugger.
  #
  class InfoCommand < Command
    include Subcommands

    self.allow_in_control = true

    def regexp
      /^\s* i(?:nfo)? (?:\s+ (.+))? \s*$/x
    end

    def description
      <<-EOD
        info[ subcommand]

        Generic command for showing things about the program being debugged.
      EOD
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/byebug-5.0.0/lib/byebug/commands/info.rb
byebug-5.0.0 lib/byebug/commands/info.rb