Method: Bundler::Plugin::API.hook

Defined in:
lib/bundler/plugin/api.rb

.hook(event, &block) ⇒ Object



48
49
50
# File 'lib/bundler/plugin/api.rb', line 48

def self.hook(event, &block)
  Plugin.add_hook(event, &block)
end