Method: Uh::WM::ActionsHandler#initialize

Defined in:
lib/uh/wm/actions_handler.rb

#initialize(env, events) ⇒ ActionsHandler

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ActionsHandler.

Parameters:

  • env (Env)

    An environment

  • events (Dispatcher)

    A dispatcher



19
20
21
22
# File 'lib/uh/wm/actions_handler.rb', line 19

def initialize env, events
  @env    = env
  @events = events
end