method

attach_to

attach_to(namespace, subscriber=new, notifier=ActiveSupport::Notifications)
public

Attach the subscriber to a namespace.