Module: SGF::Debugger
- Included in:
- DefaultEventListener, StateMachine
- Defined in:
- lib/sgf/debugger.rb
Instance Method Summary collapse
Instance Method Details
#debug(message) ⇒ Object
11 12 13 |
# File 'lib/sgf/debugger.rb', line 11 def debug puts if @debug_mode end |
#disable_debug_mode ⇒ Object
7 8 9 |
# File 'lib/sgf/debugger.rb', line 7 def disable_debug_mode @debug_mode = false end |
#enable_debug_mode ⇒ Object
3 4 5 |
# File 'lib/sgf/debugger.rb', line 3 def enable_debug_mode @debug_mode = true end |