Skip to content
Browse files

Merge pull request #61 from jc00ke/master

Emphasize atomic rewind in README
  • Loading branch information...
2 parents eb7b0d6 + 77a1a75 commit aca697387576322dc5b312ca8a54a20015d9d70a Nate Wiger committed Jun 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rdoc
View
4 README.rdoc
@@ -353,8 +353,8 @@ Atomic counters are a good way to handle concurrency:
@team.drafted_players.decrement
end
-Atomic block - a cleaner way to do the above. Exceptions or return nil
-rewind counter back to previous state:
+Atomic block - a cleaner way to do the above. <b><em>Exceptions or returning nil
+rewind counter back to previous state</em></b>:
@team.drafted_players.increment do |val|
raise Team::TeamFullError if val > @team.max_players

0 comments on commit aca6973

Please sign in to comment.
Something went wrong with that request. Please try again.