Permalink
Browse files

fixed example in README.md

  • Loading branch information...
1 parent 83a8f8f commit d9cd03aba0047d8595a653571284fae413b6de0a @deadlyicon deadlyicon committed Oct 24, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.md
View
@@ -36,7 +36,9 @@ EM.run do
puts "Disconnected"
end
- ws.send "Hello Server!"
+ EventMachine.next_tick do
+ ws.send "Hello Server!"
+ end
end
```

0 comments on commit d9cd03a

Please sign in to comment.