Class: IRB::CallTracer

Inherits:
CallTracer
  • Object
show all
Defined in:
lib/irb/ext/tracer.rb

Constant Summary collapse

IRB_DIR =
File.expand_path('../..', __dir__)

Instance Method Summary collapse

Instance Method Details

#skip?(tp) ⇒ Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/irb/ext/tracer.rb', line 19

def skip?(tp)
  super || tp.path.match?(IRB_DIR) || tp.path.match?('<internal:prelude>')
end