Class: PryByebug::NextCommand

Inherits:
Pry::ClassCommand
  • Object
show all
Includes:
Helpers::Multiline, Helpers::Navigation
Defined in:
lib/pry-byebug/commands/next.rb

Overview

Run a number of lines and then stop again

Instance Method Summary collapse

Methods included from Helpers::Multiline

#check_multiline_context

Methods included from Helpers::Navigation

#breakout_navigation

Instance Method Details

#processObject



27
28
29
30
31
32
33
# File 'lib/pry-byebug/commands/next.rb', line 27

def process
  return if check_multiline_context

  PryByebug.check_file_context(target)

  breakout_navigation :next, lines: args.first
end