Skip to content

Instantly share code, notes, and snippets.

/logger.rb Secret

Created July 17, 2014 21:30
Show Gist options
  • Save anonymous/b49abab2d10757198bd0 to your computer and use it in GitHub Desktop.
Save anonymous/b49abab2d10757198bd0 to your computer and use it in GitHub Desktop.
require "logger"
@logger = Logger.new(STDOUT)
@logger.close
puts "moep"
asd.rb:6:in `write': closed stream (IOError)
from asd.rb:6:in `puts'
from asd.rb:6:in `puts'
from asd.rb:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment