Skip to content

Commit

Permalink
Missing comma, thanks mtodd
Browse files Browse the repository at this point in the history
  • Loading branch information
derekcollison committed Nov 7, 2010
1 parent e2af66a commit d673951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -50,7 +50,7 @@ This gem currently works on the following Ruby platforms:
# Wildcard Subscriptions

# '*" matches any token
NATS.subscribe('foo.*.baz') { |msg _, sub| puts "Msg received on [#{sub}] : '#{msg}'" }
NATS.subscribe('foo.*.baz') { |msg, _, sub| puts "Msg received on [#{sub}] : '#{msg}'" }

# '>" can only be last token, and matches to any depth
NATS.subscribe('foo.>') { |msg, _, sub| puts "Msg received on [#{sub}] : '#{msg}'" }
Expand Down

0 comments on commit d673951

Please sign in to comment.