module Nova::Common::EventHandler

Handles events sent to the receiver to be processed.

Public Class Methods

included(receiver) click to toggle source

Called when {EventHandler} is included. Extends what included it by {ClassMethods}, and includes {InstanceMethods}.

@param receiver [Object] @return [void] @api private

# File lib/nova/common/event_handler.rb, line 160
def self.included(receiver)
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
end