Created
May 24, 2011 23:59
-
-
Save baroquebobcat/990030 to your computer and use it in GitHub Desktop.
RubyGems Plugin Hook Safety
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
Gem.post_install do |installer| | |
puts "Way to go for installing #{installer.gem}" | |
end |
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
require 'gem_backslap/hooks' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment