Object
# File lib/bugzilla/plugin.rb, line 67 def parserhook(parser, argv, opts) end
# File lib/bugzilla/plugin.rb, line 73 def posthook(cmd, opts) end
# File lib/bugzilla/plugin.rb, line 70 def prehook(cmd, opts) end
# 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
Generated with the Darkfish Rdoc Generator 2.