This class is a switch to turn on and off the type monitoring system. It is important to turn off the monitor once the process is inside the monitor; otherwise, it WILL fall into an infinite loop.
# File lib/rubybreaker/runtime/monitor.rb, line 188 def initialize(); @switch = true end
# File lib/rubybreaker/runtime/monitor.rb, line 200 def set_to(mode); @switch = mode; end
# File lib/rubybreaker/runtime/monitor.rb, line 195 def turn_off(); RubyBreaker.log("Switch turned off") @switch = false; end
# File lib/rubybreaker/runtime/monitor.rb, line 190 def turn_on(); RubyBreaker.log("Switch turned on") @switch = true; end