module Utils::Reporting::Console
Public Instance Methods
jot(message, debug: false,raw: false)
click to toggle source
Print to stdout with support of debug conditions This is especially helpfull if the analysis fails or is too slow
# File lib/crypto-toolbox/utils/reporting/console.rb, line 6 def jot(message, debug: false,raw: false) if debug == false || ENV["DEBUG_ANALYSIS"] raw ? print_raw(message) : print_nice(message) end end
print_delimiter_line()
click to toggle source
# File lib/crypto-toolbox/utils/reporting/console.rb, line 11 def print_delimiter_line puts "=====================================================================" end
print_nice(msg)
click to toggle source
# File lib/crypto-toolbox/utils/reporting/console.rb, line 18 def print_nice(msg) puts msg end
print_raw(msg)
click to toggle source
# File lib/crypto-toolbox/utils/reporting/console.rb, line 15 def print_raw(msg) print msg end