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


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

def process
  return if check_multiline_context

  PryByebug.check_file_context(target)

  breakout_navigation :next, lines: args.first
end