# File lib/bugzilla/plugin.rb, line 50 def run(hook, host, *args) @@plugins.each do |k| i = k.new if i.hostname == host || host.nil? then case hook when :parser i.parserhook(*args) when :pre i.prehook(*args) when :post i.posthook(*args) else end end end end