README.md in ezmq-0.4.2 vs README.md in ezmq-0.4.3
- old
+ new
@@ -90,11 +90,11 @@
Publishes an endless stream of 'foo's with a topic of 'foorever'.
```
require 'ezmq'
-publisher = EZMQ.Publisher.new
+publisher = EZMQ::Publisher.new
loop do
publisher.send 'foo', topic: 'foorever'
end
```
@@ -104,10 +104,10 @@
Subscribes to topic 'foorever', prints any messages it receives.
```
require 'ezmq'
-subscriber = EZMQ.Subscriber.new topic: 'foorever'
+subscriber = EZMQ::Subscriber.new topic: 'foorever'
subscriber.listen do |message, topic|
puts "[#{ topic }] #{ message }"
end
````