Class: RBS::Trace::MethodTracing
- Inherits:
-
Object
- Object
- RBS::Trace::MethodTracing
- Defined in:
- lib/rbs/trace/method_tracing.rb
Overview
rubocop:disable Metrics/ClassLength
Instance Method Summary collapse
Instance Method Details
#disable ⇒ Object
17 18 19 |
# File 'lib/rbs/trace/method_tracing.rb', line 17 def disable trace.disable end |
#enable ⇒ Object
12 13 14 |
# File 'lib/rbs/trace/method_tracing.rb', line 12 def enable(&) trace.enable(&) end |
#files ⇒ Object
22 23 24 |
# File 'lib/rbs/trace/method_tracing.rb', line 22 def files @files ||= {} end |
#insert_rbs ⇒ Object
27 28 29 |
# File 'lib/rbs/trace/method_tracing.rb', line 27 def insert_rbs files.each_value(&:rewrite) end |