Ruby events that EventHook notifies you about.
Redefine me in a subclass. args
is [event_id, self, method,
class].
# File lib/event_hook.rb, line 45 def self.process(*args) raise NotImplementedError, "subclass responsibility" end
# File lib/event_hook.rb, line 34 def self.start_hook self.instance.add_event_hook end
# File lib/event_hook.rb, line 38 def self.stop_hook self.instance.remove_event_hook end