Method: ElbPing::Display.debug
- Defined in:
- lib/elbping/display.rb
.debug(exception) ⇒ Object
Print debug information to the screen
Arguments:
-
exception: (Exception object)
29 30 31 32 33 34 |
# File 'lib/elbping/display.rb', line 29 def self.debug(exception) if ENV["DEBUG"] self.out "DEBUG: #{exception.message}" self.out "DEBUG: #{exception.backtrace}" end end |