lib/pubsub_notifier/proxy.rb in pubsub_notifier-0.1.1 vs lib/pubsub_notifier/proxy.rb in pubsub_notifier-0.1.2
- old
+ new
@@ -25,10 +25,10 @@
def broadcast(event)
pubsub.call(event, self)
end
- alias_method :pubilish, :broadcast
+ alias_method :publish, :broadcast
private
def pubsub
self.class.pubsub