passbe/beef-migration-test-3 — Issue #398: API: Map fire events
Author: passbe
Created: 2011-12-09 00:48:42+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