Permalink
Browse files

Merge pull request #2 from deadlyicon/master

fixed example in README.md
  • Loading branch information...
2 parents 83a8f8f + d9cd03a commit dc35fd0a711037b2f87bc4eed84cab252497a5c0 @imanel committed Oct 25, 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 dc35fd0

Please sign in to comment.