class Object
Public Instance Methods
add(*args, &block)
click to toggle source
# File lib/sweet_logger/hackhack.rb, line 11 def add(*args, &block) if Thread.current[:sweet_logger_stash] Thread.current[:sweet_logger_stash].push [self, args, block] else add_before_sweet_logger *args, &block end end
Also aliased as: add_before_sweet_logger