README.markdown in riemann-client-0.2.5 vs README.markdown in riemann-client-0.2.6
- old
+ new
@@ -46,11 +46,11 @@
They will not block your application and are roughly an order of magnitude
faster than TCP, but you will not know if the server is down or encountered an
error. You can specify what transport to use by selecting a subclient:
``` ruby
-c.udp << { :state "ok" } # => nil
-c.tcp << { :state "ok" } # => #<Message ...>
+c.udp << { :state => "ok" } # => nil
+c.tcp << { :state => "ok" } # => #<Message ...>
c.tcp["true"] # => [#<Event ... >, ...]
c.udp["true"] # => raise Riemann::Client::Unsupported
```
Client state management