Sha256: b7c28c9641ae3513e36ecabbe98ab74f6789644d13f97fa752631027c2b5b8fd

Contents?: true

Size: 492 Bytes

Versions: 2

Compression:

Stored size: 492 Bytes

Contents

require 'byebug/subcommands'

require 'byebug/commands/enable/breakpoints'
require 'byebug/commands/enable/display'

module Byebug
  #
  # Enabling custom display expressions or breakpoints.
  #
  class EnableCommand < Command
    include Subcommands

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

    def description
      <<-EOD
        en[able][[ b[reakpoints]| d[isplay])][ n1[ n2[ ...[ nn]]]]]

        Enables breakpoints or displays.
      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/enable.rb
byebug-5.0.0 lib/byebug/commands/enable.rb