lib/nanoc/base/notification_center.rb in nanoc-3.8.0 vs lib/nanoc/base/notification_center.rb in nanoc-4.0.0a1
- old
+ new
@@ -1,14 +1,16 @@
# encoding: utf-8
-module Nanoc
+module Nanoc::Int
# Provides a way to send notifications between objects. It allows blocks
# associated with a certain notification name to be registered; these blocks
# will be called when the notification with the given name is posted.
#
# It is a slightly different implementation of the Observer pattern; the
# table of subscribers is not stored in the observable object itself, but in
# the notification center.
+ #
+ # @api private
class NotificationCenter
class << self
# Adds the given block to the list of blocks that should be called when
# the notification with the given name is received.
#