Created
August 5, 2014 23:35
-
-
Save tompave/4c369c4c62b6add7fa91 to your computer and use it in GitHub Desktop.
Improved, more sensible implementation of Ruby's Kernel#puts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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