Top Level Namespace
Defined Under Namespace
Modules: Checker Classes: Array, CoreExt, String
Instance Method Summary collapse
Instance Method Details
#debug(msg) ⇒ Object
29 30 31 |
# File 'lib/checker.rb', line 29 def debug(msg) puts "[DEBUG] - #{msg}".colorize(:yellow) if debug_mode? end |
#debug_mode? ⇒ Boolean
21 22 23 |
# File 'lib/checker.rb', line 21 def debug_mode? ENV['CHECKER_DEBUG'].to_s == "1" end |