Class: Module
Overview
RubyRun uses 2 traps to get control from the interpreter to decide if a method should be instrumented or passed
-
When an instance method is added when a module/class is
loaded, or dynamically created
-
When a module/static/singleton method is added when a
module/class is loaded, or dynamically created
Instance Method Summary collapse
-
#method_added(id, *args) ⇒ Object
module/class instance method trap.
Instance Method Details
#method_added(id, *args) ⇒ Object
module/class instance method trap
58 59 60 |
# File 'lib/rubyrun/rubyrun_boot__.rb', line 58 def method_added(id, *args) RubyRunInstrumentor__.instrument_it?('i', self, id) end |