Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
David Czarnecki committed Nov 28, 2012
1 parent d5dbb4b commit 4d42cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -241,7 +241,7 @@ friends = highscore_lb.ranked_in_list(['member_6', 'member_1', 'member_10'], :so
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:

* `member`: Member name.
* `current_score`: Current score for the member in the leaderboard.
* `current_score`: Current score for the member in the leaderboard. May be `nil` if the member is not currently ranked in the leaderboard.
* `score`: Member score.
* `member_data`: Optional member data.
* `leaderboard_options`: Leaderboard options, e.g. :reverse => Value of reverse option
Expand Down

0 comments on commit 4d42cba

Please sign in to comment.