模块 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