Skip to content

Instantly share code, notes, and snippets.

@alloy
Created January 25, 2011 11:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alloy/794821 to your computer and use it in GitHub Desktop.
Save alloy/794821 to your computer and use it in GitHub Desktop.
module Kernel
alias_method :_original_require, :require
def require(*args)
puts "[!] OMG, yet another dependency: #{args.inspect}"
_original_require(*args)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment