Class: Byebug::Skipper::StepsCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/byebug/skipper/steps_command.rb

Overview

this class is partially copy/pasted from Byebug::StepsCommand

Defined Under Namespace

Classes: HackyProcessor

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.descriptionObject



12
13
14
# File 'lib/byebug/skipper/steps_command.rb', line 12

def self.description
  short_description
end

.regexpObject



4
5
6
# File 'lib/byebug/skipper/steps_command.rb', line 4

def self.regexp
  /^ \s* s(?:tep)?s \s* $/x
end

.short_descriptionObject



8
9
10
# File 'lib/byebug/skipper/steps_command.rb', line 8

def self.short_description
  "Same as `step` but skips garbage frames, e.g. from gems"
end

Instance Method Details

#executeObject



16
17
18
# File 'lib/byebug/skipper/steps_command.rb', line 16

def execute
  HackyProcessor.hack_into(context)
end