Class: Tester

Inherits:
Object
  • Object
show all
Includes:
UncleKryon::Logging
Defined in:
lib/unclekryon/log.rb

Instance Method Summary collapse

Methods included from UncleKryon::Logging

#log

Instance Method Details

#init_logObject



75
76
77
# File 'lib/unclekryon/log.rb', line 75

def init_log
  @log.progname.prepend('[Risky]')
end

#take_riskObject



79
80
81
# File 'lib/unclekryon/log.rb', line 79

def take_risk
  log.fatal('Risky! Risky! Risky!')
end