module RubyBreaker::Runtime::Pluggable

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.

Public Instance Methods

break_after_method_call(obj, meth_info) click to toggle source

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

# File lib/rubybreaker/runtime/pluggable.rb, line 55
def break_after_method_call(obj, meth_info)
end
break_before_method_call(obj, meth_info) click to toggle source

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

# File lib/rubybreaker/runtime/pluggable.rb, line 46
def break_before_method_call(obj, meth_info)
end
check_after_method_call(obj, meth_info) click to toggle source
# File lib/rubybreaker/runtime/pluggable.rb, line 37
def check_after_method_call(obj, meth_info)
end
check_before_method_call(obj, meth_info) click to toggle source
# File lib/rubybreaker/runtime/pluggable.rb, line 34
def check_before_method_call(obj, meth_info)
end