Module: IRB::Debug::SkipPathHelperForIRB

Defined in:
lib/irb/debug.rb

Instance Method Summary collapse

Instance Method Details

#skip_internal_path?(path) ⇒ Boolean

Returns:

  • (Boolean)


87
88
89
90
# File 'lib/irb/debug.rb', line 87

def skip_internal_path?(path)
  # The latter can be removed once https://github.com/ruby/debug/issues/866 is resolved
  super || path.match?(IRB_DIR) || path.match?('<internal:prelude>')
end