Sha256: c2cda0829300fb46c8a323037bc1aeae5cf70ae9596df8157ddbec1995e0bd24
Contents?: true
Size: 871 Bytes
Versions: 6490
Compression:
Stored size: 871 Bytes
Contents
# frozen_string_literal: true require "pry-byebug/helpers/navigation" require "pry-byebug/helpers/multiline" module PryByebug # # Run a number of lines and then stop again # class NextCommand < Pry::ClassCommand include Helpers::Navigation include Helpers::Multiline match "next" group "Byebug" description "Execute the next line within the current stack frame." banner <<-BANNER Usage: next [LINES] Step over within the same frame. By default, moves forward a single line. Examples: next #=> Move a single line forward. next 4 #=> Execute the next 4 lines. BANNER def process return if check_multiline_context PryByebug.check_file_context(target) breakout_navigation :next, lines: args.first end end end Pry::Commands.add_command(PryByebug::NextCommand)
Version data entries
6,490 entries across 6,486 versions & 29 rubygems