Skip to content

Instantly share code, notes, and snippets.

@betawaffle
Created October 28, 2011 13:30
Show Gist options
  • Select an option

  • Save betawaffle/1322268 to your computer and use it in GitHub Desktop.

Select an option

Save betawaffle/1322268 to your computer and use it in GitHub Desktop.
redefine_on_receiver do |old|
lambda do |*args|
args[0] = "\e[0;31m#{args[0]}\e[0m"
old.call(*args)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment