def rank_members_in(self, leaderboard_name, members_and_scores):
pipeline = self.redis_connection.pipeline()<EOL>for member, score in grouper(<NUM_LIT:2>, members_and_scores):<EOL><INDENT>if isinstance(self.redis_connection, Redis):<EOL><INDENT>pipeline.zadd(leaderboard_name, member, score)<EOL><DEDENT>else:<EOL><INDENT>pipeline.zadd(leaderboard_name, score, member)<EOL><DEDENT><DEDENT>pipeline.execute()<EOL>
Rank an array of members in the named leaderboard.

@param leaderboard_name [String] Name of the leaderboard.
@param members_and_scores [Array] Variable list of members and scores.