# File lib/main/logger.rb, line 41 def turn which @turned = which.to_s =~ /on/ ? :on : :off end
# File lib/main/logger.rb, line 45 def write message return message.to_s.size if @turned == :off super end