Permalink
Browse files

Updating README

  • Loading branch information...
1 parent 8bcc4e6 commit d5dbb4bb00759be435d9b68da1de04d981c747f8 @czarneckid czarneckid committed Nov 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
View
@@ -236,7 +236,7 @@ friends = highscore_lb.ranked_in_list(['member_6', 'member_1', 'member_10'], :so
=> [{:member=>"member_1", :rank=>56, :score=>1.0}, {:member=>"member_6", :rank=>51, :score=>6.0}, {:member=>"member_10", :rank=>47, :score=>10.0}]
```
-Conditionally rank a member in the leaderboard:
+### Conditionally rank a member in the leaderboard
You can pass a lambda to the `rank_member_if` method to conditionally rank a member in the leaderboard. The lambda is passed the following 5 parameters:

0 comments on commit d5dbb4b

Please sign in to comment.