beefproject/beef — Issue #398: API: Map fire events
Author: passbe
Created: 2011-12-10 23:08:26+00:00
State: open

Instead of passing functions directly in the BeEF::API.fire method they should be referenced with a string.

For example:

{
'paths' => {
'pre_http_start' => method(:pre_http_start),
'mount_handlers' => method(:mount_handlers)
}
}
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=340