Module: RubyBreaker::Runtime::Pluggable
- Included in:
- TypeSystem
- Defined in:
- lib/rubybreaker/runtime/pluggable.rb
Overview
Any Pluggable module can be “plugged” into the RubyBreaker monitoring system. For example, if you write your own type system for RubyBreaker, you can include this module to use it instead of the default type system that comes with RubyBreaker.
Instance Method Summary collapse
-
#break_after_method_call(obj, meth_info) ⇒ Object
This method will be invoked right after the actual method is invoked.
-
#break_before_method_call(obj, meth_info) ⇒ Object
This method will be invoked right before the actual method is invoked.
- #check_after_method_call(obj, meth_info) ⇒ Object
- #check_before_method_call(obj, meth_info) ⇒ Object
Instance Method Details
#break_after_method_call(obj, meth_info) ⇒ Object
This method will be invoked right after the actual method is invoked.
- obj
-
the receiver of the method call (message)
- method_info
-
a MethodInfo object containing the method call information
55 56 |
# File 'lib/rubybreaker/runtime/pluggable.rb', line 55 def break_after_method_call(obj, meth_info) end |
#break_before_method_call(obj, meth_info) ⇒ Object
This method will be invoked right before the actual method is invoked.
- obj
-
the receiver of the method call (message)
- method_info
-
a MethodInfo object containing the method call information
46 47 |
# File 'lib/rubybreaker/runtime/pluggable.rb', line 46 def break_before_method_call(obj, meth_info) end |
#check_after_method_call(obj, meth_info) ⇒ Object
37 38 |
# File 'lib/rubybreaker/runtime/pluggable.rb', line 37 def check_after_method_call(obj, meth_info) end |
#check_before_method_call(obj, meth_info) ⇒ Object
34 35 |
# File 'lib/rubybreaker/runtime/pluggable.rb', line 34 def check_before_method_call(obj, meth_info) end |