class Byebug::Skipper::DownsCommand
this class is partially copy/pasted from Byebug::DownCommand
Public Class Methods
description()
click to toggle source
# File lib/byebug/skipper/downs_command.rb, line 16 def self.description short_description end
regexp()
click to toggle source
# File lib/byebug/skipper/downs_command.rb, line 8 def self.regexp /^ \s* downs \s* $/x end
short_description()
click to toggle source
# File lib/byebug/skipper/downs_command.rb, line 12 def self.short_description "Same as `down` but skips garbage frames, e.g. from gems" end
Public Instance Methods
execute()
click to toggle source
# File lib/byebug/skipper/downs_command.rb, line 20 def execute loop do break if out_of_bounds?(context.frame.pos - 1) jump_frames(-1) break if not Byebug::Skipper.skip?(context.location) end Byebug::ListCommand.new(processor).execute if Byebug::Setting[:autolist] end