Sha256: 71842cef5cb5b14d1f2b3e7ea7cf76af41fbf35678b1d072e4678786813ed779
Contents?: true
Size: 654 Bytes
Versions: 13
Compression:
Stored size: 654 Bytes
Contents
require 'pry-byebug/helpers/navigation' module PryByebug # # Move to a specific frame in the callstack # class FrameCommand < Pry::ClassCommand include Helpers::Navigation match 'frame' group 'Byebug' description 'Move to specified frame #.' banner <<-BANNER Usage: frame [TIMES] Move to specified frame #. Examples: frame #=> Show current frame #. frame 5 #=> Move to frame 5. BANNER def process PryByebug.check_file_context(target) breakout_navigation :frame, index: args.first end end end Pry::Commands.add_command(PryByebug::FrameCommand)
Version data entries
13 entries across 12 versions & 3 rubygems