Skip to content

Instantly share code, notes, and snippets.

@tompave
Created August 5, 2014 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tompave/4c369c4c62b6add7fa91 to your computer and use it in GitHub Desktop.
Save tompave/4c369c4c62b6add7fa91 to your computer and use it in GitHub Desktop.
Improved, more sensible implementation of Ruby's Kernel#puts
module Kernel
TABLE_FLIP = <<-EOS
(╯°□°)╯︵ ┻━┻
EOS
alias_method :original_puts, :puts
def puts(*args)
original_puts TABLE_FLIP
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment