Class: Gem::ExecutableHooks

Inherits:
Object
  • Object
show all
Defined in:
lib/executable-hooks/hooks.rb

Class Method Summary collapse

Class Method Details

.run(original_file) ⇒ Object



47
48
49
50
51
52
# File 'lib/executable-hooks/hooks.rb', line 47

def self.run(original_file)
  Gem.load_executable_plugins
  Gem.executables_hooks.each do |hook|
    hook.call(original_file)
  end
end