def create_event_methods name, *prefixes
      prefixes << :on if prefixes.empty?
      prefixes.each { |pre| create_event_method :"#{pre}_#{name}" }
    end
def create_event_methods name, *prefixes
      prefixes << :on if prefixes.empty?
      prefixes.each { |pre| create_event_method :"#{pre}_#{name}" }
    end
Creates convenience methods for binding callbacks to the given
 event name with a set of prefixes.
 @param [Symbol] name
 @param [Symbol, Symbol, ...] prefixes (eg: :on, :before, :after)
 @example
   class ExampleClass
     include OnStomp::Interfaces::EventManager

     create_event_methods :some_event, :before, :during, :after
   end

   example_obj.before_some_event { |arg| ... }
   example_obj.after_some_event { |arg| ... }
   example_obj.during_some_event { |arg| ... }