README.md in wisper-1.1.0 vs README.md in wisper-1.2.0
- old
+ new
@@ -200,10 +200,10 @@
However it means that when looking at the code it will not be obvious that the
global listeners are being executed in additional to the regular listeners.
```ruby
-Wisper::GlobalListeners.add_listener(MyListener.new)
+Wisper.add_listener(MyListener.new)
```
In a Rails app you might want to add your global listeners in an initalizer.
Global listeners are threadsafe.