模組 IRB::Debug::DEBUGGER__

公開類別方法

capture_frames(*args) 按一下切換來源
# File lib/irb/debug.rb, line 49
def DEBUGGER__.capture_frames(*args)
  frames = capture_frames_without_irb(*args)
  frames.reject! do |frame|
    frame.realpath&.start_with?(IRB_DIR) || frame.path == "<internal:prelude>"
  end
  frames
end